Class: QML::JSWrapper

Inherits:
JSObject show all
Defined in:
ext/qml/js_wrapper.c

Instance Method Summary collapse

Methods inherited from JSObject

#==, #[], #[]=, #each_pair, #error?, #has_key?, #keys, #method_missing, #respond_to?, #to_error, #to_hash, #to_qml, #to_time, #values

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class QML::JSObject

Instance Method Details

#unwrapQML::Access

Returns:



8
9
10
11
12
13
# File 'ext/qml/js_wrapper.c', line 8

static VALUE js_wrapper_unwrap(VALUE self) {
    qmlbind_value wrapper = rbqml_js_object_get(self);
    VALUE unwrapped = (VALUE)qmlbind_value_get_backref(wrapper);
    qmlbind_value_release(wrapper);
    return unwrapped;
}