-
-
Notifications
You must be signed in to change notification settings - Fork 60
Closed
Description
It is unclear to me if (at all) and how to define what constitutes equality for diff-lcs. I tried overriding == operator but this did not work.
Looking into the code it seems Hash equality needs to be implemented (i.e. eql? and hash).
diff-lcs/lib/diff/lcs/internals.rb
Line 294 in e4b0274
| def position_hash(enum, interval) |
Would it make sense to document this?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels