fail();
return null;
}
private RootNode parse(String source) {
final RubyInstanceConfig instanceConfiguration = new RubyInstanceConfig();
instanceConfiguration.setDisableGems(true);
final Ruby ruby = Ruby.newInstance(instanceConfiguration);
final ParserConfiguration parserConfiguration = new org.jruby.parser.ParserConfiguration(ruby, 0, false, true, true);
final StaticScope staticScope = ruby.getStaticScopeFactory().newLocalScope(null);
final Parser parser = new org.jruby.parser.Parser(ruby);
return (RootNode) parser.parse("test", source.getBytes(), new ManyVarsDynamicScope(staticScope), parserConfiguration);