Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#to_js ⇒ JS::Object
Returns
self
as a JS::Object.
Instance Method Details
#to_js ⇒ JS::Object
Returns self
as a JS::Object.
494 495 496 497 498 |
# File 'ext/js/js-core.c', line 494 static VALUE _rb_js_string_to_js(VALUE obj) { rb_js_abi_host_string_t abi_str; rstring_to_abi_string(obj, &abi_str); return jsvalue_s_new(rb_js_abi_host_string_to_js_string(&abi_str)); } |