We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
JS::Object.wrap
1 parent 1bb1813 commit ed42c96Copy full SHA for ed42c96
packages/gems/js/ext/js/js-core.c
@@ -439,7 +439,7 @@ static VALUE _rb_js_import_from_js(VALUE obj) {
439
*/
440
static VALUE _rb_js_obj_wrap(VALUE obj, VALUE wrapping) {
441
#if JS_ENABLE_COMPONENT_MODEL
442
- rb_abi_stage_rb_value_to_js(obj);
+ rb_abi_stage_rb_value_to_js(wrapping);
443
return jsvalue_s_new(rb_js_abi_host_rb_object_to_js_rb_value());
444
#else
445
rb_abi_lend_object(wrapping);
0 commit comments