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
Style/LambdaCall
Style/MethodCallParentheses
.call
When I have a .call method that takes no arguments, I can't win between 2 rubocop rules. If I do it this way:
thing.call
It complains on the Style/LambdaCall rule, and this way:
thing.()
It complains about Style/MethodCallParentheses. Unfortunately, what rubocop wants in this instance isn't valid ruby syntax:
thing.
The text was updated successfully, but these errors were encountered:
I have a fix for this. Waiting for my open PR to be merged, then I'll open another one.
Sorry, something went wrong.
ce4f0b5
No branches or pull requests
When I have a
.call
method that takes no arguments, I can't win between 2 rubocop rules. If I do it this way:It complains on the
Style/LambdaCall
rule, and this way:It complains about
Style/MethodCallParentheses
. Unfortunately, what rubocop wants in this instance isn't valid ruby syntax:The text was updated successfully, but these errors were encountered: