How to write a switch statement in Ruby How to write a switch statement in Ruby ruby ruby