class RuboCop::Cop::Layout::EmptyLinesAroundBlockBody

Checks if empty lines around the bodies of blocks match the configuration.

@example EnforcedStyle: no_empty_lines (default)

# good

foo do |bar|
  # ...
end

@example EnforcedStyle: empty_lines

# good

foo do |bar|

  # ...

end