[ruby-cvs:50546] marcandre:r43404 (trunk): * lib/ostruct.rb (Struct#each_pair): Return an enumerator with size

marcandre at ruby-lang.org marcandre at ruby-lang.org
Thu Oct 24 00:13:57 JST 2013


marcandre	2013-10-24 00:13:57 +0900 (Thu, 24 Oct 2013)

  New Revision: 43404

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

  Log:
    * lib/ostruct.rb (Struct#each_pair): Return an enumerator with size
      Patch by Kenichi Kamiya. [Fixes GH-383]
    
    * test/ostruct/test_ostruct.rb: Added tests for above.

  Modified files:
    trunk/lib/ostruct.rb
    trunk/test/ostruct/test_ostruct.rb


More information about the ruby-cvs mailing list