Examples of extend_object()


Examples of org.jruby.RubyModule.extend_object()

                    throw e;
                }

                rubyObj = unmarshalObject();
               
                tp.extend_object(rubyObj);
                tp.callMethod(runtime.getCurrentContext(),"extended", rubyObj);
                break;
            case 'l' :
                rubyObj = RubyBignum.unmarshalFrom(this);
                break;
View Full Code Here

Examples of org.jruby.RubyModule.extend_object()

                    throw e;
                }

                rubyObj = unmarshalObject();

                tp.extend_object(rubyObj);
                tp.callMethod(runtime.getCurrentContext(),"extended", rubyObj);
                break;
            case 'l' :
                rubyObj = RubyBignum.unmarshalFrom(this);
                break;
View Full Code Here

Examples of org.jruby.RubyModule.extend_object()

                    throw e;
                }

                rubyObj = unmarshalObject();

                tp.extend_object(rubyObj);
                tp.callMethod(runtime.getCurrentContext(),"extended", rubyObj);
                break;
            case 'l' :
                rubyObj = RubyBignum.unmarshalFrom(this);
                break;
View Full Code Here

Examples of org.jruby.RubyModule.extend_object()

public class BinUtilsService implements BasicLibraryService {
    public boolean basicLoad(Ruby ruby) {
  RubyModule bin_utils = ruby.defineModule("BinUtils");
  RubyModule java_utils = bin_utils.defineModuleUnder("Native");
  java_utils.defineAnnotatedMethods(JavaUtils.class);
  java_utils.extend_object(java_utils);
  return true;
    }
}
View Full Code Here

Examples of org.jruby.RubyModule.extend_object()

                    throw e;
                }

                rubyObj = unmarshalObject();

                tp.extend_object(rubyObj);
                tp.callMethod(runtime.getCurrentContext(),"extended", rubyObj);
                break;
            case 'l' :
                rubyObj = RubyBignum.unmarshalFrom(this);
                break;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.