Upgraded syntax to ruby 1.9.3

When trying to "build" the project using IntelliJ IDEA 12 and ruby 1.9.3, it complained about syntax errors in case enumerations. I switched to newer syntax and upgraded version.