Syntax fixed for switch case #1

This should work for all Ruby version :+1:  :)