Fix ruby syntax.