aboutsummaryrefslogtreecommitdiffstats
path: root/object.c
diff options
context:
space:
mode:
Diffstat (limited to 'object.c')
-rw-r--r--object.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/object.c b/object.c
index c422636a5c..8a5eeea6aa 100644
--- a/object.c
+++ b/object.c
@@ -1012,7 +1012,7 @@ rb_false(obj)
/*
* call-seq:
- * obj =~ other => false
+ * obj =~ other => nil
*
* Pattern Match---Overridden by descendents (notably
* <code>Regexp</code> and <code>String</code>) to provide meaningful
@@ -1023,7 +1023,7 @@ static VALUE
rb_obj_pattern_match(obj1, obj2)
VALUE obj1, obj2;
{
- return Qfalse;
+ return Qnil;
}
/**********************************************************************