class RuboCop::Cop::Layout::EmptyLinesAroundBeginBody

end

begin
# bad
end

begin
# good
@example
blocks.
This cops checks if empty lines exist around the bodies of begin-end

def on_kwbegin(node)

def on_kwbegin(node)
  check(node, nil)
end

def style

def style
  :no_empty_lines
end