Package org.jruby

Examples of org.jruby.RubyBigDecimal$BigDecimalKernelMethods


                        rubyObject = runtime.newString(new ByteList(bytes, false));
                    } else if(value instanceof Clob) {
                        String str = ((Clob)value).getSubString(1, (int)((Clob)value).length());
                        rubyObject = runtime.newString(str);
                    } else if(value instanceof BigDecimal) {
                        rubyObject = new RubyBigDecimal(runtime, (BigDecimal)value);
                    } else {
                        rubyObject = JavaUtil.convertJavaToRuby(runtime, value);
                    }
                   
                    String name = propertyName.toLowerCase();
View Full Code Here

TOP

Related Classes of org.jruby.RubyBigDecimal$BigDecimalKernelMethods

Copyright © 2018 www.massapicom. 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.