ruby-cvs:21904
From: matz ruby-lang.org
Date: Tue, 25 Dec 2007 15:01:23 +0900 (JST)
Subject: [ruby-cvs:21904] Ruby:r14667 (trunk): * enum.c (enum_yield): when multiple values yielded from #each
matz 2007-12-25 15:01:22 +0900 (Tue, 25 Dec 2007)
New Revision: 14667
Modified files:
trunk/ChangeLog
trunk/enum.c
trunk/ext/dbm/extconf.rb
Log:
* enum.c (enum_yield): when multiple values yielded from #each
pack them into an array. [ruby-dev:32708]
* enum.c: all method but all?, any?, one? and none? passed packed
multiple values to the block.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=14667&r2=14666
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ext/dbm/extconf.rb?r1=14667&r2=14666
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/enum.c?r1=14667&r2=14666