class RuboCop::Cop::Layout::EmptyLinesAroundBlockBody

end
# …
foo do |bar|
# good
@example EnforcedStyle: empty_lines
end
# …
foo do |bar|
# good
@example EnforcedStyle: no_empty_lines (default)
the configuration.
Checks if empty lines around the bodies of blocks match

def on_block(node)

def on_block(node)
  first_line = node.send_node.last_line
  check(node, node.body, adjusted_first_line: first_line)
end