File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -119,14 +119,14 @@ VALUE _rb_js_try_convert(VALUE klass, VALUE obj) {
119
119
120
120
/*
121
121
* call-seq:
122
- * js_obj .is_a?(js_class) -> true or false
122
+ * JS .is_a?(js_obj, js_class) -> true or false
123
123
*
124
124
* Returns <code>true</code> if <i>js_class</i> is the instance of
125
125
* <i>js_obj</i>, otherwise returns <code>false</code>.
126
126
* Comparison is done using the <code>instanceof</code> in JavaScript.
127
127
*
128
- * p JS.global. is_a?(JS.global[:Object]) #=> true
129
- * p JS.global. is_a?(Object) #=> false
128
+ * p JS.is_a?(JS.global, JS.global[:Object]) #=> true
129
+ * p JS.is_a?(JS.global, Object) #=> false
130
130
*/
131
131
static VALUE _rb_js_is_kind_of (VALUE klass , VALUE obj , VALUE c ) {
132
132
if (!IS_JSVALUE (obj )) {
You can’t perform that action at this time.
0 commit comments