Sha256: 927b4c7e5504d7b51f6431cb607d03b8145cc4919ceeda36ef834065648bb50a

Contents?: true

Size: 865 Bytes

Versions: 254

Compression:

Stored size: 865 Bytes

Contents

/**
 * Copyright 2007 Ye Zheng
 * Distributed under the BSD License
 */

package com.xruby.runtime.lang;

import com.xruby.runtime.builtin.RubyArray;

public abstract class RubyVarArgBlock extends RubyBlock {
    public RubyVarArgBlock(RubyValue self, RubyValue arg, RubyArray args, RubyBlock block, RubyModule scope, RubyMethod owner, boolean definedInAnotherBlock) {
        super(-1, false, 0, self, arg, args, block, scope, owner, definedInAnotherBlock);
    }

    protected RubyValue run(RubyValue receiver, RubyArray args) {
        return this.run(receiver);
    }

    protected RubyValue run(RubyValue receiver, RubyValue arg) {
        return this.run(receiver);
    }

    protected RubyValue run(RubyValue receiver, RubyValue arg0, RubyValue arg1) {
        return this.run(receiver);
    }

    protected abstract RubyValue run(RubyValue receiver);
}

Version data entries

254 entries across 136 versions & 2 rubygems

Version Path
rhodes-3.3.5 platform/bb/RubyVM/src/com/xruby/runtime/lang/RubyVarArgBlock.java
rhodes-3.4.2 platform/shared/xruby/src/com/xruby/runtime/lang/RubyVarArgBlock.java
rhodes-3.4.2 platform/bb/RubyVM/src/com/xruby/runtime/lang/RubyVarArgBlock.java
rhodes-3.3.4 platform/bb/RubyVM/src/com/xruby/runtime/lang/RubyVarArgBlock.java
rhodes-3.3.4 platform/shared/xruby/src/com/xruby/runtime/lang/RubyVarArgBlock.java
rhodes-3.3.3 platform/shared/xruby/src/com/xruby/runtime/lang/RubyVarArgBlock.java
rhodes-3.3.3 platform/bb/RubyVM/src/com/xruby/runtime/lang/RubyVarArgBlock.java
rhodes-3.3.3.beta.4 platform/bb/RubyVM/src/com/xruby/runtime/lang/RubyVarArgBlock.java
rhodes-3.3.3.beta.4 platform/shared/xruby/src/com/xruby/runtime/lang/RubyVarArgBlock.java
rhodes-3.3.3.beta.3 platform/bb/RubyVM/src/com/xruby/runtime/lang/RubyVarArgBlock.java
rhodes-3.3.3.beta.3 platform/shared/xruby/src/com/xruby/runtime/lang/RubyVarArgBlock.java
rhodes-3.3.3.beta.2 platform/shared/xruby/src/com/xruby/runtime/lang/RubyVarArgBlock.java
rhodes-3.3.3.beta.2 platform/bb/RubyVM/src/com/xruby/runtime/lang/RubyVarArgBlock.java
rhodes-3.3.3.beta.1 platform/shared/xruby/src/com/xruby/runtime/lang/RubyVarArgBlock.java
rhodes-3.3.3.beta.1 platform/bb/RubyVM/src/com/xruby/runtime/lang/RubyVarArgBlock.java
rhodes-3.3.2 platform/shared/xruby/src/com/xruby/runtime/lang/RubyVarArgBlock.java
rhodes-3.3.2 platform/bb/RubyVM/src/com/xruby/runtime/lang/RubyVarArgBlock.java
rhodes-3.3.2.beta.7 platform/bb/RubyVM/src/com/xruby/runtime/lang/RubyVarArgBlock.java
rhodes-3.3.2.beta.7 platform/shared/xruby/src/com/xruby/runtime/lang/RubyVarArgBlock.java
rhodes-3.3.2.beta.6 platform/shared/xruby/src/com/xruby/runtime/lang/RubyVarArgBlock.java