Remove unecessary variable call, #sort! always returns an array

This commit is contained in:
Agis Anastasopoulos 2013-04-07 21:55:35 +03:00
parent a92814b001
commit 6d10688bbe

@ -94,7 +94,6 @@ def all_helpers_from_path(path)
extract = /^#{Regexp.quote(_path.to_s)}\/?(.*)_helper.rb$/
names = Dir["#{_path}/**/*_helper.rb"].map { |file| file.sub(extract, '\1') }
names.sort!
names
end
helpers.uniq!
helpers