diff options
author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-14 04:22:44 +0000 |
---|---|---|
committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-14 04:22:44 +0000 |
commit | 80361e2c47fa79880e04df2f344b48fb607e144f (patch) | |
tree | 9cc918d847ba6e0d78e312676e7a1042f674ccb9 /NEWS | |
parent | 7d848354f8e25a652ccaabbd54e106b44e7da308 (diff) |
* range.c (range_each, range_step): Return an enumerator if no
block is given.
* struct.c (rb_struct_each, rb_struct_each_pair): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -68,6 +68,11 @@ with all sufficient information, see the ChangeLog file. * Process.exec implemented. + * Range#each + * Range#step + + Return an enumerator if no block is given. + * Regexp.union accepts an array of patterns. * String#partition @@ -83,6 +88,11 @@ with all sufficient information, see the ChangeLog file. New exception class that causes Kernel#loop to stop iteration when raised. + * Struct#each + * Struct#each_pair + + Return an enumerator if no block is given. + * Symbol#to_proc implemented. * enumerator |