summaryrefslogtreecommitdiff
path: root/object.c
diff options
context:
space:
mode:
Diffstat (limited to 'object.c')
-rw-r--r--object.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/object.c b/object.c
index aacf7ce43f..6c418d25e2 100644
--- a/object.c
+++ b/object.c
@@ -1092,9 +1092,10 @@ rb_obj_match(VALUE obj1, VALUE obj2)
/*
* call-seq:
- * obj !~ other => nil
+ * obj !~ other => true or false
*
- * Returns true if two objects does not match, using <i>=~</i> method.
+ * Returns true if two objects do not match (using the <i>=~</i>
+ * method), otherwise false.
*/
static VALUE