[ruby-cvs:54724] nobu:r47576 (trunk): hash.c: [DOC] fix for Hash#store docs

nobu at ruby-lang.org nobu at ruby-lang.org
Sat Sep 13 22:19:28 JST 2014


nobu	2014-09-13 22:19:27 +0900 (Sat, 13 Sep 2014)

  New Revision: 47576

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=47576

  Log:
    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]

  Modified files:
    trunk/ChangeLog
    trunk/hash.c


More information about the ruby-cvs mailing list