class RuboCop::Cop::Style::ParallelAssignment

def on_masgn(node)

def on_masgn(node)
  lhs, rhs = *node
  lhs_elements = *lhs
  rhs_elements = [*rhs].compact # edge case for one constant
  return if allowed_lhs?(lhs) || allowed_rhs?(rhs) ||
            allowed_masign?(lhs_elements, rhs_elements)
  add_offense(node)
end