summaryrefslogtreecommitdiffstats
path: root/object.c
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
commit72294c04e6a84f5c9692297d76d3e725f59dea34 (patch)
tree956bb1a939af86aaaa84d7e0ed732e1ae31968b9 /object.c
parent32036028a6331ccca4a4e94469be7aa10be92b0b (diff)
downloadruby-72294c04e6a84f5c9692297d76d3e725f59dea34.tar.gz
ruby-72294c04e6a84f5c9692297d76d3e725f59dea34.tar.xz
ruby-72294c04e6a84f5c9692297d76d3e725f59dea34.zip
* object.c (rb_obj_not_match): rdoc.
Patch by Kornelius Kalnbach. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 aacf7ce43..6c418d25e 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