class RuboCop::Cop::Style::TernaryParentheses
def non_complex_expression?(condition)
Anything that is not a variable, constant, or method/.method call
def non_complex_expression?(condition) NON_COMPLEX_TYPES.include?(condition.type) || non_complex_send?(condition) end