summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-13 12:29:54 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-13 12:29:54 +0000
commite1809a0cedfd948bdc229653b5e8b0d5972d114e (patch)
tree956bb1a939af86aaaa84d7e0ed732e1ae31968b9
parentc4554d20a694da8c5669b7ef86e33a39f5c33ef9 (diff)
* object.c (rb_obj_not_match): rdoc.
Patch by Kornelius Kalnbach. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--object.c5
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index d0d833925c..ad3da2f08c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Tue Jan 13 21:28:14 2009 Yuki Sonoda (Yugui) <yugui@yugui.jp>
+
+ * object.c (rb_obj_not_match): rdoc.
+ Patch by Kornelius Kalnbach.
+
Tue Jan 13 18:21:44 2009 NAKAMURA Usaku <usa@ruby-lang.org>
* io.c (rb_io_close_read): call rb_io_fptr_cleanup() instead of
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