[ruby-cvs:73597] marcandre:r66496 (trunk): ostruct.rb: Accept block for to_h [#15451].

marcandre at ruby-lang.org marcandre at ruby-lang.org
Sun Dec 23 02:05:03 JST 2018


marcandre	2018-12-23 02:05:03 +0900 (Sun, 23 Dec 2018)

  New Revision: 66496

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

  Log:
    ostruct.rb: Accept block for to_h [#15451].
    
    Patch by Shuji Kobayashi.

  Modified files:
    trunk/NEWS
    trunk/lib/ostruct.rb
    trunk/spec/ruby/library/openstruct/to_h_spec.rb
    trunk/test/ostruct/test_ostruct.rb


More information about the ruby-cvs mailing list