diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-09-13 13:19:27 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-09-13 13:19:27 +0000 |
commit | f3c9ffe094ff8d57d040b9599556082664548838 (patch) | |
tree | a4a5939f86c3f7c93358c8617278282133b298de /ChangeLog | |
parent | ab22202a50397b24ee23e01b6f229b2893a28278 (diff) | |
download | ruby-f3c9ffe094ff8d57d040b9599556082664548838.tar.gz |
hash.c: [DOC] fix for Hash#store docs
* hash.c (rb_hash_aset): fix misleading example which may suggest
that Hash.store will return self instead of value - Hash#store
is returning value and update itself, as well as Hash#[]=.
[Fix GH-715]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,10 @@ +Sat Sep 13 22:19:26 2014 Bernard Potocki <bernard.potocki@imanel.org> + + * hash.c (rb_hash_aset): fix misleading example which may suggest + that Hash.store will return self instead of value - Hash#store + is returning value and update itself, as well as Hash#[]=. + [Fix GH-715] + Sat Sep 13 15:16:31 2014 Eric Wong <e@80x24.org> * class.c: use ALLOC(rb_subclass_entry_t) |