Sha256: fa1f858c5b5331e2ac05fef8db15b71d7121f4f2e1b04c977cff3a3f53f2b9a4

Contents?: true

Size: 1.09 KB

Versions: 119

Compression:

Stored size: 1.09 KB

Contents

package com.xruby.GeneratedMethods;
import com.xruby.runtime.lang.*;
import com.xruby.runtime.builtin.*;
import com.xruby.runtime.builtin.RubyTopSelf;
public class RubyTopSelf_Methods{
public static void initMethods( RubyClass klass){

klass.getSingletonClass().defineMethod( "include", new RubyVarArgMethod(){ 
	public RubyValue invoke(RubyValue receiver, RubyArray args, RubyBlock block ){
		return RubyTopSelf.include(receiver, args);}
	public RubyValue invoke(RubyValue receiver, RubyBlock block ){
		return RubyTopSelf.include(receiver);}
	public RubyValue invoke(RubyValue receiver, RubyValue arg, RubyBlock block ){
		return RubyTopSelf.include(receiver, arg);}
	public RubyValue invoke(RubyValue receiver, RubyValue arg0, RubyValue arg1, RubyBlock block ){
		RubyArray args = ObjectFactory.createArray(2, 0, block != null? block.createdByLambda() : false );
		args.add(arg0);		args.add(arg1);
		return RubyTopSelf.include(receiver, args);}
	protected RubyValue run(RubyValue receiver, RubyArray args, RubyBlock block) {
    	throw new Error("we overided invoke, so this method should never be called");}
});
}}

Version data entries

119 entries across 119 versions & 1 rubygems

Version Path
rhodes-3.0.0.beta.1 platform/bb/RubyVM/src/com/xruby/GeneratedMethods/RubyTopSelf_Methods.java
rhodes-2.4.1 platform/bb/RubyVM/src/com/xruby/GeneratedMethods/RubyTopSelf_Methods.java
rhodes-2.4.1.beta.1 platform/bb/RubyVM/src/com/xruby/GeneratedMethods/RubyTopSelf_Methods.java
rhodes-2.4.0 platform/bb/RubyVM/src/com/xruby/GeneratedMethods/RubyTopSelf_Methods.java
rhodes-2.4.0.beta.2 platform/bb/RubyVM/src/com/xruby/GeneratedMethods/RubyTopSelf_Methods.java
rhodes-2.4.0.beta.1 platform/bb/RubyVM/src/com/xruby/GeneratedMethods/RubyTopSelf_Methods.java
rhodes-2.3.2 platform/bb/RubyVM/src/com/xruby/GeneratedMethods/RubyTopSelf_Methods.java
rhodes-2.3.2.beta.2 platform/bb/RubyVM/src/com/xruby/GeneratedMethods/RubyTopSelf_Methods.java
rhodes-2.3.2.beta.1 platform/bb/RubyVM/src/com/xruby/GeneratedMethods/RubyTopSelf_Methods.java
rhodes-2.3.1 platform/bb/RubyVM/src/com/xruby/GeneratedMethods/RubyTopSelf_Methods.java
rhodes-2.3.1.beta.1 platform/bb/RubyVM/src/com/xruby/GeneratedMethods/RubyTopSelf_Methods.java
rhodes-2.3.0 platform/bb/RubyVM/src/com/xruby/GeneratedMethods/RubyTopSelf_Methods.java
rhodes-2.3.0.beta.3 platform/bb/RubyVM/src/com/xruby/GeneratedMethods/RubyTopSelf_Methods.java
rhodes-2.3.0.beta.2 platform/bb/RubyVM/src/com/xruby/GeneratedMethods/RubyTopSelf_Methods.java
rhodes-2.3.0.beta.1 platform/bb/RubyVM/src/com/xruby/GeneratedMethods/RubyTopSelf_Methods.java
rhodes-2.2.6 platform/bb/RubyVM/src/com/xruby/GeneratedMethods/RubyTopSelf_Methods.java
rhodes-2.2.6.beta.1 platform/bb/RubyVM/src/com/xruby/GeneratedMethods/RubyTopSelf_Methods.java
rhodes-2.2.5 platform/bb/RubyVM/src/com/xruby/GeneratedMethods/RubyTopSelf_Methods.java
rhodes-2.2.5.beta.3 platform/bb/RubyVM/src/com/xruby/GeneratedMethods/RubyTopSelf_Methods.java
rhodes-2.2.5.beta.2 platform/bb/RubyVM/src/com/xruby/GeneratedMethods/RubyTopSelf_Methods.java