Package org.jruby

Examples of org.jruby.RubyModule.defineModuleUnder()


        // Get the DataObjects module
        RubyModule doModule = runtime.getModule(DATA_OBJECTS_MODULE_NAME);

        // Define the DataObjects module for this Driver
        // e.g. DataObjects::Derby, DataObjects::MySql
        doModule.defineModuleUnder(driver.getModuleName());

        // Define the DataObjects driver classes
        Command.createCommandClass(runtime, driver);
        Connection.createConnectionClass(runtime, driver);
        Result.createResultClass(runtime, driver);
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.