Skip to content

Commit

Permalink
Reverse equals? in a couple of other places
Browse files Browse the repository at this point in the history
  • Loading branch information
fxn committed Oct 11, 2024
1 parent 587c798 commit b6fe78b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/zeitwerk/loader/eager_load.rb
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def eager_load_namespace(mod)
return unless mod_name

actual_roots.each do |root_dir, root_namespace|
if mod.equal?(Object)
if Object.equal?(mod)
# A shortcircuiting test depends on the invocation of this method.
# Please keep them in sync if refactored.
actual_eager_load_dir(root_dir, root_namespace)
Expand Down

0 comments on commit b6fe78b

Please sign in to comment.