added ternary_operator.rb