Sha256: 45bd44256f1d084e6d92a52ebcb8678e29d865ff7dae6d3973753dcef90b3258
Contents?: true
Size: 762 Bytes
Versions: 4
Compression:
Stored size: 762 Bytes
Contents
package com.rhomobile.rhodes; public class RhoRubyClassObject extends IRhoRubyObject { private String klass_name; public RhoRubyClassObject(String name) { super(RhoRubyTypes.Class, null); klass_name = name; if (!NativeMakeRubyClassObject(klass_name)) throw new RuntimeException("Could not create class from Ruby!"); } public IRhoRubyObject ExecuteRubyObjectMethod(String name_function, RhoRubyArrayObjects parameters) { return NativeExecuteRubyObjectMethod(klass_name, name_function, parameters); } native boolean NativeMakeRubyClassObject(String name); native IRhoRubyObject NativeExecuteRubyObjectMethod(String class_name, String name_function, RhoRubyArrayObjects parameters); }
Version data entries
4 entries across 4 versions & 1 rubygems