馃憢 ,
Not sure if this is a rubocop bug or just the way it should be on 2.5 now that begin statement are superfluous inside block:
something = foo do
puts 'bar'
rescue => e
puts e
end
# rescue not aligned with foo
Cop is passing with this syntax, but it's not really pretty .
something = foo do
puts 'bar'
rescue => e
puts e
end
I will take a look at this.
Most helpful comment
I will take a look at this.