summaryrefslogtreecommitdiff
path: root/object.c
diff options
context:
space:
mode:
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)