Skip to content

Commit

Permalink
Prefer __id__ over object_id
Browse files Browse the repository at this point in the history
  • Loading branch information
flash-gordon committed Nov 30, 2024
1 parent c808287 commit 3e75885
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dry/types/fn_container.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def self.[](fn_name)

# @api private
def self.register_name(function)
"fn_#{function.object_id}"
"fn_#{function.__id__}"
end
end
end
Expand Down

0 comments on commit 3e75885

Please sign in to comment.