[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:
parent
e86b4c29fc
commit
bc3b9356b2
2
lib/reline/kill_ring.rb
Normal file → Executable file
2
lib/reline/kill_ring.rb
Normal file → Executable file
@ -14,7 +14,7 @@ class Reline::KillRing
|
|||||||
end
|
end
|
||||||
|
|
||||||
def ==(other)
|
def ==(other)
|
||||||
object_id == other.object_id
|
equal?(other)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user