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
self
Given a method of the form:
def set_finalized(finalized = true) if self.finalized != finalized self.finalized = finalized save end end
RedundantSelf identifies a violation and "corrects" the method to be:
RedundantSelf
def set_finalized(finalized = true) if finalized != finalized self.finalized = finalized save end end
This alters the behavior of the method and introduces incorrect behavior.
The text was updated successfully, but these errors were encountered:
Thanks for reporting this. I'll have it fixed right away.
Sorry, something went wrong.
92500e6
No branches or pull requests
Given a method of the form:
RedundantSelf
identifies a violation and "corrects" the method to be:This alters the behavior of the method and introduces incorrect behavior.
The text was updated successfully, but these errors were encountered: