codeclimate/codeclimate-rubocop

View on GitHub
config/contents/layout/block_end_newline.md

Summary

Maintainability
Test Coverage
This cop checks whether the end statement of a do..end block
is on its own line.

### Example:
    # bad
    blah do |i|
      foo(i) end

    # good
    blah do |i|
      foo(i)
    end

    # bad
    blah { |i|
      foo(i) }

    # good
    blah { |i|
      foo(i)
    }