Fix typo in apparently-dead will_unload? method.
This commit is contained in:
parent
76e00fc784
commit
582bff71c4
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue