[ruby/reline] Replace object_id comparison with equal?

(https://github.com/ruby/reline/pull/617)

https://github.com/ruby/reline/commit/63deef4ae5
This commit is contained in:
Alexander Momchilov 2023-12-28 23:05:18 -05:00 committed by git
parent e86b4c29fc
commit bc3b9356b2

2
lib/reline/kill_ring.rb Normal file → Executable file
View File

@ -14,7 +14,7 @@ class Reline::KillRing
end
def ==(other)
object_id == other.object_id
equal?(other)
end
end