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