Fixed Ruby syntax error