How do I use the conditional operator (? :) in Ruby? How do I use the conditional operator (? :) in Ruby? ruby ruby