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-7.6.0 platform/shared/xruby/src/com/xruby/runtime/lang/RubyVarArgBlock.java
rhodes-7.5.1 platform/shared/xruby/src/com/xruby/runtime/lang/RubyVarArgBlock.java
rhodes-7.4.1 platform/shared/xruby/src/com/xruby/runtime/lang/RubyVarArgBlock.java
rhodes-7.1.17 platform/shared/xruby/src/com/xruby/runtime/lang/RubyVarArgBlock.java
rhodes-6.2.0 platform/shared/xruby/src/com/xruby/runtime/lang/RubyVarArgBlock.java
rhodes-6.0.11 platform/shared/xruby/src/com/xruby/runtime/lang/RubyVarArgBlock.java
rhodes-5.5.18 platform/shared/xruby/src/com/xruby/runtime/lang/RubyVarArgBlock.java
rhodes-5.5.17 platform/shared/xruby/src/com/xruby/runtime/lang/RubyVarArgBlock.java
rhodes-5.5.15 platform/shared/xruby/src/com/xruby/runtime/lang/RubyVarArgBlock.java
rhodes-5.5.0.22 platform/shared/xruby/src/com/xruby/runtime/lang/RubyVarArgBlock.java
rhodes-5.5.2 platform/shared/xruby/src/com/xruby/runtime/lang/RubyVarArgBlock.java
rhodes-5.5.0.7 platform/shared/xruby/src/com/xruby/runtime/lang/RubyVarArgBlock.java
rhodes-5.5.0.3 platform/shared/xruby/src/com/xruby/runtime/lang/RubyVarArgBlock.java
rhodes-5.5.0 platform/shared/xruby/src/com/xruby/runtime/lang/RubyVarArgBlock.java
tauplatform-1.0.3 platform/shared/xruby/src/com/xruby/runtime/lang/RubyVarArgBlock.java
tauplatform-1.0.2 platform/shared/xruby/src/com/xruby/runtime/lang/RubyVarArgBlock.java
tauplatform-1.0.1 platform/shared/xruby/src/com/xruby/runtime/lang/RubyVarArgBlock.java
rhodes-3.5.1.12 platform/bb/RubyVM/src/com/xruby/runtime/lang/RubyVarArgBlock.java
rhodes-3.5.1.12 platform/shared/xruby/src/com/xruby/runtime/lang/RubyVarArgBlock.java
rhodes-3.3.5 platform/bb/RubyVM/src/com/xruby/runtime/lang/RubyVarArgBlock.java