Skip to content

Commit 63deef4

Browse files
authored
Replace object_id comparison with equal? (#617)
1 parent 8937279 commit 63deef4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎lib/reline/kill_ring.rb‎

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def initialize(str)
1414
end
1515

1616
def ==(other)
17-
object_id == other.object_id
17+
equal?(other)
1818
end
1919
end
2020

0 commit comments

Comments
 (0)