Sha256: d8920c60de45ef67dac3e8224e68082cca17bdc67dc6b1b70f92dee4a6b39164
Contents?: true
Size: 741 Bytes
Versions: 40
Compression:
Stored size: 741 Bytes
Contents
package rhomobile; import com.xruby.runtime.lang.*; public class NativeBar { public static void initMethods(RubyClass klass) { klass.getSingletonClass().defineMethod("create", new RubyTwoArgMethod() { protected RubyValue run(RubyValue receiver, RubyValue arg0, RubyValue arg1, RubyBlock block) { return RubyConstant.QNIL; } }); klass.getSingletonClass().defineMethod("remove", new RubyNoArgMethod() { protected RubyValue run(RubyValue receiver, RubyBlock block) { return RubyConstant.QNIL; } }); klass.getSingletonClass().defineMethod("switch_tab", new RubyOneArgMethod() { protected RubyValue run(RubyValue receiver, RubyValue arg0, RubyBlock block) { return RubyConstant.QNIL; } }); } }
Version data entries
40 entries across 40 versions & 1 rubygems