1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
charliesome 2013-07-04 13:31:11 +00:00
parent 2e44efd4d9
commit 3d8deb6e1b
2 changed files with 9 additions and 3 deletions

View file

@ -1,3 +1,9 @@
Thu Jul 4 22:31:00 2013 Charlie Somerville <charliesome@ruby-lang.org>
* 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
Thu Jul 4 20:39:20 2013 Tanaka Akira <akr@fsij.org>
* tool/make-snapshot: Exit with EXIT_FAILURE when it fails.

View file

@ -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