Ruby 1.9 to Ruby 1.8 syntax