From 7e52c0e34910645f50c8efdbab5e419c2c3a4256 Mon Sep 17 00:00:00 2001 From: yugui Date: Thu, 15 Jan 2009 15:37:58 +0000 Subject: merges r21493 from trunk into ruby_1_9_1. * object.c (rb_obj_not_match): rdoc. Patch by Kornelius Kalnbach. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- object.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'object.c') 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 =~ method. + * Returns true if two objects do not match (using the =~ + * method), otherwise false. */ static VALUE -- cgit