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
Example
def foo return :x => 1, :y => 2 end
Expected result
def foo { :x => 1, :y => 2 } end
Actual result (syntax error)
def foo :x => 1, :y =>2 end
The text was updated successfully, but these errors were encountered:
Rubocop version: 0.32.1 (using Parser 2.3.0.pre.2, running on ruby 2.2.0 x86_64-linux)
0.32.1 (using Parser 2.3.0.pre.2, running on ruby 2.2.0 x86_64-linux)
Sorry, something went wrong.
[Fix rubocop#2029] Style/RedundantReturn auto-corrects implicit hashes
914b9b2
Merge pull request #2039 from rrosenblum/fix_redundant_return
c10fa4a
[Fix #2029] Style/RedundantReturn auto-corrects implicit hashes
Successfully merging a pull request may close this issue.
Example
Expected result
Actual result (syntax error)
The text was updated successfully, but these errors were encountered: