diff options
author | charliesome <charliesome@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-04 13:31:11 +0000 |
---|---|---|
committer | charliesome <charliesome@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-04 13:31:11 +0000 |
commit | 3d8deb6e1b0af723d1028131c2b8238f4b69f4e1 (patch) | |
tree | 07bab6a93be10f6e718884a688f2bbe74216c04d /object.c | |
parent | 2e44efd4d9d9d2956dff437c28dd099085158ad8 (diff) |
* object.c (rb_obj_equal): Fixed an rb_obj_equal documentation typo
where "a" was used instead of "obj".
Fixes GH-349. Patch by @adnandoric
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'object.c')
-rw-r--r-- | object.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |