Pattern: Malformed spacing around module body
Issue: -
This rule checks if empty lines around the bodies of modules match the configuration.
EnforcedStyle: empty_lines
# good
module Foo
def bar
...
end
end
EnforcedStyle: no_empty_lines
# good
module Foo
def bar
...
end
end
Attribute | Value |
---|---|
EnforcedStyle | no_empty_lines |
SupportedStyles | empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines |