You know what, I don't think JRuby supports 2.0 syntax yet! (https://github.com/jruby/jruby/wiki/Roadmap)

I'll update the PR.