[ruby-cvs:63012] mrkn:r55847 (trunk): hash.c: implement Hash#map_v and Hash#map_v!

mrkn at ruby-lang.org mrkn at ruby-lang.org
Tue Aug 9 17:54:16 JST 2016


mrkn	2016-08-09 17:54:15 +0900 (Tue, 09 Aug 2016)

  New Revision: 55847

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

  Log:
    hash.c: implement Hash#map_v and Hash#map_v!
    
    * hash.c (rb_hash_map_v, rb_hash_map_v_bang): impelement Hash#map_v and
      Hash#map_v! [Feature #12512] [ruby-core:76095]
    
    * test/ruby/test_hash.rb: add tests for above change.

  Modified files:
    trunk/ChangeLog
    trunk/hash.c
    trunk/test/ruby/test_hash.rb


More information about the ruby-cvs mailing list