Skip to content

Commit 4ee47b2

Browse files
Align the use of to_s and inspect in doc comment
1 parent 0034ba0 commit 4ee47b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/js/js-core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ static VALUE _rb_js_obj_typeof(VALUE obj) {
302302
* JS.eval("return true").to_s # => "true"
303303
* JS.eval("return 1").to_s # => "1"
304304
* JS.eval("return null").to_s # => "null"
305-
* JS.global.inspect # => "[object global]"
305+
* JS.global.to_s # => "[object global]"
306306
*
307307
* JS::Object#inspect is an alias for JS::Object#to_s.
308308
*/

0 commit comments

Comments
 (0)