Skip to content

Commit

Permalink
[ruby/reline] Replace object_id comparison with equal?
Browse files Browse the repository at this point in the history
  • Loading branch information
amomchilov authored and matzbot committed Dec 29, 2023
1 parent e86b4c2 commit bc3b935
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/reline/kill_ring.rb 100644 → 100755
Expand Up @@ -14,7 +14,7 @@ def initialize(str)
end

def ==(other)
object_id == other.object_id
equal?(other)
end
end

Expand Down

0 comments on commit bc3b935

Please sign in to comment.