Fixed Ruby syntax