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
This cop chokes on begin…rescue…else…end statements. Here is an reduced code snipped that will cause the RuboCop error:
begin…rescue…else…end
begin raise StandardError.new('Fail (__-){') if rand(2).odd? rescue StandardError => error $stderr.puts error.message else $stdout.puts 'Lucky you!' end
Here’s a Gist of the full stack trace.
RubyCop version 0.27.0 (using Parser 2.2.0.pre.6, running on ruby 2.1.4 x86_64-darwin14.0)
The text was updated successfully, but these errors were encountered:
0dc0575
Merge pull request #1423 from jonas054/1416_else_alignment
6f03e16
[Fix #1416] Handle begin/rescue/else/end in ElseAlignment
jonas054
No branches or pull requests
This cop chokes on
begin…rescue…else…end
statements. Here is an reduced code snipped that will cause the RuboCop error:Here’s a Gist of the full stack trace.
RubyCop version 0.27.0 (using Parser 2.2.0.pre.6, running on ruby 2.1.4 x86_64-darwin14.0)
The text was updated successfully, but these errors were encountered: