Sha256: a724f90b08e582e2ad1982c0d9f86098a1e45b20d54cd215c7693a238b9e9f25
Contents?: true
Size: 862 Bytes
Versions: 254
Compression:
Stored size: 862 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 RubyNoArgBlock extends RubyBlock { public RubyNoArgBlock(RubyValue self, RubyValue arg, RubyArray args, RubyBlock block, RubyModule scope, RubyMethod owner, boolean definedInAnotherBlock) { super(0, 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