Skip to content

Commit

Permalink
Fix typo in apparently-dead will_unload? method.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy committed Jun 28, 2008
1 parent 0fd6371 commit a42599d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activesupport/lib/active_support/dependencies.rb
Expand Up @@ -299,7 +299,7 @@ def autoloaded?(desc)

# 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

Expand Down

0 comments on commit a42599d

Please sign in to comment.