Sha256: 825ebe854641dc7b60c35036ab3cd82f585f80d599aee430616d4cc5e22de6e2
Contents?: true
Size: 444 Bytes
Versions: 119
Compression:
Stored size: 444 Bytes
Contents
package com.xruby.GeneratedMethods; import com.xruby.runtime.lang.*; import com.xruby.runtime.builtin.*; import com.xruby.runtime.builtin.RubyStruct; public class RubyStruct_Methods{ public static void initMethods( RubyClass klass){ klass.getSingletonClass().defineMethod( "new", new RubyVarArgMethod(){ protected RubyValue run(RubyValue receiver, RubyArray args, RubyBlock block ){ return RubyStruct.alloc(receiver, args, block);} }); }}
Version data entries
119 entries across 119 versions & 1 rubygems