Fix buggy Ruby 2.0 syntax