/** * A RubyContinuation used for catch/throw, which have a tag associated * * @param runtime Current JRuby runtime * @param tag The tag to use */ public RubyContinuation(Ruby runtime, IRubyObject tag) { super(runtime, runtime.getContinuation()); this.continuation = new Continuation(tag); }
public RubyContinuation(Ruby runtime) { super(runtime, runtime.getContinuation()); this.continuation = new Continuation(); }