JRuby

Method "class" fails on regexp converted to java in IRB