diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-10-31 14:24:22 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-10-31 14:24:22 +0000 |
commit | ab05a6ddf7f0ef6c345ffa288adab0c7e6dca1d3 (patch) | |
tree | 2cabedbe525e8089bc453650392d9b76cf91a8e1 /object.c | |
parent | 559ea4702023fedaa40787641d41f99115f9418b (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.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) |