Change to ruby 1.9.0 syntax