Skip to content

Commit d356987

Browse files
committed
Fix typo in apparently-dead will_unload? method.
1 parent 44d721c commit d356987

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

activesupport/lib/active_support/dependencies.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ def autoloaded?(desc)
286286

287287
# Will the provided constant descriptor be unloaded?
288288
def will_unload?(const_desc)
289-
autoloaded?(desc) ||
289+
autoloaded?(const_desc) ||
290290
explicitly_unloadable_constants.include?(to_constant_name(const_desc))
291291
end
292292

0 commit comments

Comments
 (0)