We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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).
eql?
hash
diff-lcs/lib/diff/lcs/internals.rb
Line 294 in e4b0274
Would it make sense to document this?
The text was updated successfully, but these errors were encountered:
It would be. I’d suggest that it might be worth adding some tests to verify this.
Sorry, something went wrong.
No branches or pull requests
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?
andhash
).diff-lcs/lib/diff/lcs/internals.rb
Line 294 in e4b0274
Would it make sense to document this?
The text was updated successfully, but these errors were encountered: