Ruby - Control Flow
Which of the following is the correct way to use the ternary operator in Ruby to assign
result based on score?result based on score?condition ? value_if_true : value_if_false.? and : to separate true and false values.? and : in the expression [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions