Ejemplo n.º 1
0
 /**
  * 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);
 }
Ejemplo n.º 2
0
 public RubyContinuation(Ruby runtime) {
   super(runtime, runtime.getContinuation());
   this.continuation = new Continuation();
 }