summaryrefslogtreecommitdiff
path: root/object.c
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-10-31 14:24:22 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-10-31 14:24:22 +0000
commitab05a6ddf7f0ef6c345ffa288adab0c7e6dca1d3 (patch)
tree2cabedbe525e8089bc453650392d9b76cf91a8e1 /object.c
parent559ea4702023fedaa40787641d41f99115f9418b (diff)
* object.c (rb_obj_cmp): [DOC] patched by Keith Bennett
<kbennett AT verisign.com>. [ruby-core:57887] [Backport #9024] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@43485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'object.c')
-rw-r--r--object.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/object.c b/object.c
index 59611fd2d6..0a0b260adb 100644
--- a/object.c
+++ b/object.c
@@ -1234,7 +1234,8 @@ rb_obj_not_match(VALUE obj1, VALUE obj2)
* call-seq:
* obj <=> other -> 0 or nil
*
- * Returns 0 if obj === other, otherwise nil.
+ * Returns 0 if +obj+ and +other+ are the same object
+ * or <code>obj == other</code>, otherwise nil.
*/
static VALUE
rb_obj_cmp(VALUE obj1, VALUE obj2)