Pattern: Use of in
pattern branch without body
Issue: -
Checks for the presence of in
pattern branches without a body.
# bad
case condition
in [a]
do_something
in [a, b]
end
# good
case condition
in [a]
do_something
in [a, b]
nil
end
Pattern: Use of in
pattern branch without body
Issue: -
Checks for the presence of in
pattern branches without a body.
# bad
case condition
in [a]
do_something
in [a, b]
end
# good
case condition
in [a]
do_something
in [a, b]
nil
end