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
I’m wondering if it’s an oversight that RedundantMerge disallows the Hash#merge! method but allows its alias Hash#update?
RedundantMerge
Hash#merge!
Hash#update
cc @alexdowad
The text was updated successfully, but these errors were encountered:
It sure is! Thanks for the good catch!
Sorry, something went wrong.
I added a PR for this, but I can imagine it will cause quite a lot of false positives for Rails users, since #update is also used in ActiveRecord.
#update
Oooh... good point. Actually, the word update is generic enough that it could be used in any number of places.
update
What to do...
0039142
No branches or pull requests
I’m wondering if it’s an oversight that
RedundantMerge
disallows theHash#merge!
method but allows its aliasHash#update
?cc @alexdowad
The text was updated successfully, but these errors were encountered: