-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
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
MemoizedInstanceVariableName cop suggests syntactically invalid instance variable for predicate methods. #5648
Comments
8 tasks
satyap
pushed a commit
to satyap/rubocop
that referenced
this issue
Mar 7, 2018
bbatsov
pushed a commit
that referenced
this issue
Mar 9, 2018
pocke
added a commit
to pocke/rubocop
that referenced
this issue
Mar 14, 2018
8 tasks
bbatsov
pushed a commit
that referenced
this issue
Mar 16, 2018
This was referenced Mar 21, 2018
This was referenced Mar 21, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
MemoizedInstanceVariableName cop suggests syntactically invalid instance variable for predicate methods.
#5445 (comment)
Expected behavior
It should suggest replacing
@has_something
with@something
Actual behavior
Rubocop wants me to change the instance variable to
@something?
, which is not valid.Steps to reproduce the problem
RuboCop version
0.53.0
The text was updated successfully, but these errors were encountered: