summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-09 05:51:31 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-09 05:51:31 +0000
commit03d38468ac4ea2493eb24fc17c44177ca9b2c7c1 (patch)
tree27ba7dae0853253568abf5c406b22379be7e8bc5 /NEWS
parent646e2efaef83f789632260bc88a154506c9b25af (diff)
Mention Enumerator#with_index.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS13
1 files changed, 9 insertions, 4 deletions
diff --git a/NEWS b/NEWS
index c2e928ff54..17ad57d659 100644
--- a/NEWS
+++ b/NEWS
@@ -21,6 +21,15 @@ with all sufficient information, see the ChangeLog file.
* new method:
* Dir.home
+ * Enumerator
+ * extended methods:
+ * #with_index accepts an optional argument that specifies the
+ index number to start with, defaulted to 0.
+
+ * incompatible changes:
+ * #rewind now calls the "rewind" method of the enclosed object
+ if defined.
+
* IO
* extended methods:
* IO.pipe can take a block.
@@ -29,10 +38,6 @@ with all sufficient information, see the ChangeLog file.
* extended methods:
* Process.spawn accepts [:child, FD] for a redirect target.
- * Enumerator#rewind
- * incompatible changes:
- Now calls the "rewind" method of the enclosed object if defined.
-
* rss
* 0.2.4 -> 0.2.5