How to Write a Switch Statement in Ruby | CodeTrail