Pattern: Missing newline for multi-line method param
Issue: -
Ensures that each parameter in a multi-line method definition starts on a separate line.
NOTE: This rule does not move the first argument, if you want that to
be on a separate line, see Layout/FirstMethodParameterLineBreak
.
# bad
def foo(a, b,
c
)
end
# good
def foo(
a,
b,
c
)
end
# good
def foo(a, b, c)
end