Merge pull request #8675 from goshakkk/cleanup

Remove unnecessary always-nil var from #compact
This commit is contained in:
José Valim 2013-01-01 09:40:53 -08:00
commit 7c6246bbf0

@ -34,7 +34,7 @@ def self.extended(base) # :nodoc:
def autoload(const_name, path = @_at_path)
unless path
full = [name, @_under_path, const_name.to_s, path].compact.join("::")
full = [name, @_under_path, const_name.to_s].compact.join("::")
path = Inflector.underscore(full)
end