class RuboCop::Cop::Style::MultilineWhenThen

Checks uses of the ‘then` keyword in multi-line when statements.

@example

# bad
case foo
when bar then
end

# good
case foo
when bar
end

# good
case foo
when bar then do_something
end

# good
case foo
when bar then do_something(arg1,
                           arg2)
end