convert a java object to a ruby object . concode_field_sep Node node concode_elem_sep Ruby runtime concode_field_sep Object rubyToJava concode_elem_sep Object rubyToJava concode_elem_sep RubyObjectAdapter newObjectAdapter concode_elem_sep IRubyObject run concode_elem_sep IRubyObject run concode_elem_sep Ruby initialize concode_elem_sep Ruby initialize concode_elem_sep void terminate concode_elem_sep Object invokeMethod concode_elem_sep RubyRuntimeAdapter newRuntimeAdapter
IRubyObject function ( Ruby arg0 , Object arg1 ) { if ( arg1 instanceof IRubyObject ) return ( IRubyObject ) arg1 ; IRubyObject loc0 = JavaUtil . convertJavaToUsableRubyObject ( arg0 , arg1 ) ; return loc0 instanceof JavaObject ? Java . wrap ( arg0 , loc0 ) : loc0 ; }