Sha256: 09a6c387872a2e2d40886c038242d60d02c8746754a2a28c652db7c4c25290b2
Contents?: true
Size: 986 Bytes
Versions: 254
Compression:
Stored size: 986 Bytes
Contents
package com.xruby.runtime.lang.util; import com.xruby.runtime.builtin.RubyArray; import com.xruby.runtime.lang.RubyBlock; import com.xruby.runtime.lang.RubyConstant; import com.xruby.runtime.lang.RubyMethod; import com.xruby.runtime.lang.RubyValue; public class DummyMethod extends RubyMethod { public static DummyMethod INSTANCE = new DummyMethod(); private DummyMethod() { super(-1, false, 0); } public RubyValue invoke(RubyValue receiver, RubyArray args, RubyBlock block) { return RubyConstant.QNIL; } public RubyValue invoke(RubyValue receiver, RubyBlock block) { return RubyConstant.QNIL; } public RubyValue invoke(RubyValue receiver, RubyValue arg, RubyBlock block) { return RubyConstant.QNIL; } public RubyValue invoke(RubyValue receiver, RubyValue arg0, RubyValue arg1, RubyBlock block) { return RubyConstant.QNIL; } // Can't be here protected RubyValue run(RubyValue receiver, RubyArray args, RubyBlock block) { return RubyConstant.QNIL; } }
Version data entries
254 entries across 136 versions & 2 rubygems