summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-04-14 04:22:44 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-04-14 04:22:44 +0000
commit80361e2c47fa79880e04df2f344b48fb607e144f (patch)
tree9cc918d847ba6e0d78e312676e7a1042f674ccb9 /NEWS
parent7d848354f8e25a652ccaabbd54e106b44e7da308 (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--NEWS10
1 files changed, 10 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 6fc2a9fe64..c0d2628ba7 100644
--- a/NEWS
+++ b/NEWS
@@ -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