class RuboCop::Cop::Layout::EmptyLinesAroundClassBody
end
end
…
def bar
class Foo
# good
EnforcedStyle: empty_lines
@example
the configuration.
This cops checks if empty lines around the bodies of classes match
def on_class(node)
def on_class(node) _name, _superclass, body = *node check(node, body) end
def on_sclass(node)
def on_sclass(node) _obj, body = *node check(node, body) end