class RuboCop::Cop::ParenthesesCorrector
def ternary_condition?(node)
def ternary_condition?(node) node.parent && node.parent.if_type? && node.parent.ternary? end
def ternary_condition?(node) node.parent && node.parent.if_type? && node.parent.ternary? end