ruby-cvs:19782
From: ko1 ruby-lang.org
Date: Fri, 15 Jun 2007 13:25:08 +0900 (JST)
Subject: [ruby-cvs:19782] Ruby:r12546 (trunk): * hash.c: exchange semantics of Hash#each and Hash#each_pair.
ko1 2007-06-15 13:25:07 +0900 (Fri, 15 Jun 2007)
New Revision: 12546
Modified files:
trunk/ChangeLog
trunk/hash.c
trunk/test/ruby/test_iterator.rb
trunk/test/ruby/test_yield.rb
Log:
* hash.c: exchange semantics of Hash#each and Hash#each_pair.
pointed out by [ruby-dev:30997].
* test/ruby/test_iterator.rb: ditto.
* test/ruby/test_yield.rb: ditto.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/test/ruby/test_iterator.rb?r1=12546&r2=12545
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/hash.c?r1=12546&r2=12545
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=12546&r2=12545
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/test/ruby/test_yield.rb?r1=12546&r2=12545