aboutsummaryrefslogtreecommitdiffstats
path: root/object.c
diff options
context:
space:
mode:
Diffstat (limited to 'object.c')
-rw-r--r--object.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/object.c b/object.c
index d226dbf858..23dbbf4d10 100644
--- a/object.c
+++ b/object.c
@@ -121,9 +121,9 @@ rb_eql(VALUE obj1, VALUE obj2)
* obj = "a"
* other = obj.dup
*
- * a == other #=> true
- * a.equal? other #=> false
- * a.equal? a #=> true
+ * obj == other #=> true
+ * obj.equal? other #=> false
+ * obj.equal? obj #=> true
*
* The <code>eql?</code> method returns <code>true</code> if +obj+ and
* +other+ refer to the same hash key. This is used by Hash to test members