Topic: Switch statement in Ruby?
I'm wondering if Ruby has a switch statement similar to C++ and other languages. At the moment I'm using 4 'if' statements to check the value of a certain variable. I know there has to be a better way than using that many 'ifs'. Does anyone know if Ruby has a switch, or if it has something else that can replace using multiple 'if' statements?