Sha256: 7f3457ac5fc4a2e22cb2da02731289bbf2a9a3c9a3f02d7c5c44c3ba150385e7
Contents?: true
Size: 731 Bytes
Versions: 119
Compression:
Stored size: 731 Bytes
Contents
package com.xruby.GeneratedMethods; import com.xruby.runtime.lang.*; public class RubyRandom_Methods{ public static void initMethods( RubyModule klass){ /* klass.defineMethod( "srand", new RubyNoOrOneArgMethod(){ protected RubyValue run(RubyValue receiver, RubyBlock block ){ return RubyRandom.srand(receiver);} protected RubyValue run(RubyValue receiver, RubyValue arg, RubyBlock block ){ return RubyRandom.srand(receiver, arg);} }); klass.defineMethod( "rand", new RubyNoOrOneArgMethod(){ protected RubyValue run(RubyValue receiver, RubyBlock block ){ return RubyRandom.rand(receiver);} protected RubyValue run(RubyValue receiver, RubyValue arg, RubyBlock block ){ return RubyRandom.rand(receiver, arg);} }); */ }}
Version data entries
119 entries across 119 versions & 1 rubygems