class RuboCop::Cop::Layout::AssignmentIndentation

Checks the indentation of the first line of the right-hand-side of a multi-line assignment.

The indentation of the remaining lines can be corrected with other cops such as ‘Layout/IndentationConsistency` and `Layout/EndAlignment`.

@example

# bad
value =
if foo
  'bar'
end

# good
value =
  if foo
    'bar'
  end