Update syntax for Ruby 1.9