class RuboCop::Cop::Style::NestedTernaryOperator
def remove_parentheses(source)
def remove_parentheses(source) return source unless source.start_with?('(') source.delete_prefix('(').delete_suffix(')') end
def remove_parentheses(source) return source unless source.start_with?('(') source.delete_prefix('(').delete_suffix(')') end