Fix typo in apparently-dead will_unload? method.

This commit is contained in:
Jeremy Kemper 2008-06-27 17:19:24 -07:00
parent 76e00fc784
commit 582bff71c4
1 changed files with 1 additions and 1 deletions

View File

@ -299,7 +299,7 @@ module ActiveSupport #:nodoc:
# Will the provided constant descriptor be unloaded?
def will_unload?(const_desc)
autoloaded?(desc) ||
autoloaded?(const_desc) ||
explicitly_unloadable_constants.include?(to_constant_name(const_desc))
end