class RuboCop::Cop::Style::EmptyLinesAroundMethodBody
end
…
def something(arg)
@example
the configuration.
This cops checks if empty lines around the bodies of methods match
def on_method_def(node, _method_name, _args, body)
def on_method_def(node, _method_name, _args, body) check(node, body) end
def style
configuration. It's difficult to imagine that anybody would want
Override ConfigurableEnforcedStyle#style and hard-code
def style :no_empty_lines end