Added ruby hash syntax switch