diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | object.c | 6 |
2 files changed, 9 insertions, 3 deletions
@@ -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. @@ -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 |