class RuboCop::Cop::Lint::ElseLayout

def on_if(node)

def on_if(node)
  return if node.ternary?
  # If the if is on a single line, it'll be handled by `Style/OneLineConditional`
  return if node.single_line?
  check(node)
end