Sha256: f469dba47c7673a58d4f8dcdd19766ec7f10fa9f8fbcce4a87d64785e26eb140

Contents?: true

Size: 1.63 KB

Versions: 119

Compression:

Stored size: 1.63 KB

Contents

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

klass.defineAllocMethod(new RubyNoArgMethod(){
	protected RubyValue run(RubyValue receiver, RubyBlock block )	{
		return RubyObject.alloc(receiver);	}} );

klass.defineMethod( "instance_variable_get", new RubyOneArgMethod(){ 
	protected RubyValue run(RubyValue receiver, RubyValue arg, RubyBlock block ){
		return ((RubyObject)receiver).instance_variable_get(arg);}
});
klass.defineMethod( "instance_variable_defined?", new RubyOneArgMethod(){ 
	protected RubyValue run(RubyValue receiver, RubyValue arg, RubyBlock block ){
		return ((RubyObject)receiver).instance_variable_defined( arg);}
});
klass.defineMethod( "instance_variable_set", new RubyTwoArgMethod(){ 
	protected RubyValue run(RubyValue receiver, RubyValue arg0, RubyValue arg1, RubyBlock block ){
		return ((RubyObject)receiver).instance_variable_set( arg0, arg1);}
});
klass.defineMethod( "remove_instance_variable", new RubyOneArgMethod(){ 
	protected RubyValue run(RubyValue receiver, RubyValue arg, RubyBlock block ){
		return ((RubyObject)receiver).instance_variable_remove( arg);}
});
klass.defineMethod( "instance_variables", new RubyNoArgMethod(){ 
	protected RubyValue run(RubyValue receiver, RubyBlock block ){
		return ((RubyObject)receiver).instance_variables();}
});
klass.defineMethod( "rhom_init", new RubyOneArgMethod(){ 
	protected RubyValue run(RubyValue receiver, RubyValue arg, RubyBlock block ){
		return ((RubyObject)receiver).rhom_init( arg);}
});

}}

Version data entries

119 entries across 119 versions & 1 rubygems

Version Path
rhodes-3.5.1.12 platform/bb/RubyVM/src/com/xruby/GeneratedMethods/RubyObject_Methods.java
rhodes-3.3.5 platform/bb/RubyVM/src/com/xruby/GeneratedMethods/RubyObject_Methods.java
rhodes-3.4.2 platform/bb/RubyVM/src/com/xruby/GeneratedMethods/RubyObject_Methods.java
rhodes-3.3.4 platform/bb/RubyVM/src/com/xruby/GeneratedMethods/RubyObject_Methods.java
rhodes-3.3.3 platform/bb/RubyVM/src/com/xruby/GeneratedMethods/RubyObject_Methods.java
rhodes-3.3.3.beta.4 platform/bb/RubyVM/src/com/xruby/GeneratedMethods/RubyObject_Methods.java
rhodes-3.3.3.beta.3 platform/bb/RubyVM/src/com/xruby/GeneratedMethods/RubyObject_Methods.java
rhodes-3.3.3.beta.2 platform/bb/RubyVM/src/com/xruby/GeneratedMethods/RubyObject_Methods.java
rhodes-3.3.3.beta.1 platform/bb/RubyVM/src/com/xruby/GeneratedMethods/RubyObject_Methods.java
rhodes-3.3.2 platform/bb/RubyVM/src/com/xruby/GeneratedMethods/RubyObject_Methods.java
rhodes-3.3.2.beta.7 platform/bb/RubyVM/src/com/xruby/GeneratedMethods/RubyObject_Methods.java
rhodes-3.3.2.beta.6 platform/bb/RubyVM/src/com/xruby/GeneratedMethods/RubyObject_Methods.java
rhodes-3.3.2.beta.5 platform/bb/RubyVM/src/com/xruby/GeneratedMethods/RubyObject_Methods.java
rhodes-3.3.2.beta.4 platform/bb/RubyVM/src/com/xruby/GeneratedMethods/RubyObject_Methods.java
rhodes-3.3.2.beta.3 platform/bb/RubyVM/src/com/xruby/GeneratedMethods/RubyObject_Methods.java
rhodes-3.3.2.beta.2 platform/bb/RubyVM/src/com/xruby/GeneratedMethods/RubyObject_Methods.java
rhodes-3.3.2.beta.1 platform/bb/RubyVM/src/com/xruby/GeneratedMethods/RubyObject_Methods.java
rhodes-3.3.1 platform/bb/RubyVM/src/com/xruby/GeneratedMethods/RubyObject_Methods.java
rhodes-3.3.0 platform/bb/RubyVM/src/com/xruby/GeneratedMethods/RubyObject_Methods.java
rhodes-3.3.0.beta.3 platform/bb/RubyVM/src/com/xruby/GeneratedMethods/RubyObject_Methods.java