Skip to content

Commit

Permalink
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -73,6 +73,11 @@ public RubyContext createContext(Env env) {
return new RubyContext(runtime, env);
}

@Override
protected void disposeContext(RubyContext context) {
context.shutdown();
}

@Override
protected CallTarget parse(Source source, Node node, String... strings) throws IOException {
return Truffle.getRuntime().createCallTarget(new LazyRubyRootNode(null, null, source));

0 comments on commit 54da46c

Please sign in to comment.