class RuboCop::Cop::Lint::ConditionPosition

def on_if(node)

def on_if(node)
  return if node.loc.respond_to?(:question)
  check(node)
end