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

Version Path
rhodes-7.6.0 platform/shared/xruby/src/com/xruby/runtime/lang/util/DummyMethod.java
rhodes-7.5.1 platform/shared/xruby/src/com/xruby/runtime/lang/util/DummyMethod.java
rhodes-7.4.1 platform/shared/xruby/src/com/xruby/runtime/lang/util/DummyMethod.java
rhodes-7.1.17 platform/shared/xruby/src/com/xruby/runtime/lang/util/DummyMethod.java
rhodes-6.2.0 platform/shared/xruby/src/com/xruby/runtime/lang/util/DummyMethod.java
rhodes-6.0.11 platform/shared/xruby/src/com/xruby/runtime/lang/util/DummyMethod.java
rhodes-5.5.18 platform/shared/xruby/src/com/xruby/runtime/lang/util/DummyMethod.java
rhodes-5.5.17 platform/shared/xruby/src/com/xruby/runtime/lang/util/DummyMethod.java
rhodes-5.5.15 platform/shared/xruby/src/com/xruby/runtime/lang/util/DummyMethod.java
rhodes-5.5.0.22 platform/shared/xruby/src/com/xruby/runtime/lang/util/DummyMethod.java
rhodes-5.5.2 platform/shared/xruby/src/com/xruby/runtime/lang/util/DummyMethod.java
rhodes-5.5.0.7 platform/shared/xruby/src/com/xruby/runtime/lang/util/DummyMethod.java
rhodes-5.5.0.3 platform/shared/xruby/src/com/xruby/runtime/lang/util/DummyMethod.java
rhodes-5.5.0 platform/shared/xruby/src/com/xruby/runtime/lang/util/DummyMethod.java
tauplatform-1.0.3 platform/shared/xruby/src/com/xruby/runtime/lang/util/DummyMethod.java
tauplatform-1.0.2 platform/shared/xruby/src/com/xruby/runtime/lang/util/DummyMethod.java
tauplatform-1.0.1 platform/shared/xruby/src/com/xruby/runtime/lang/util/DummyMethod.java
rhodes-3.5.1.12 platform/bb/RubyVM/src/com/xruby/runtime/lang/util/DummyMethod.java
rhodes-3.5.1.12 platform/shared/xruby/src/com/xruby/runtime/lang/util/DummyMethod.java
rhodes-3.3.5 platform/bb/RubyVM/src/com/xruby/runtime/lang/util/DummyMethod.java