[前][次][番号順一覧][スレッド一覧]

ruby-changes:10612

From: knu <ko1@a...>
Date: Mon, 9 Feb 2009 14:51:52 +0900 (JST)
Subject: [ruby-changes:10612] Ruby:r22169 (trunk): Mention Enumerator#with_index.

knu	2009-02-09 14:51:31 +0900 (Mon, 09 Feb 2009)

  New Revision: 22169

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=22169

  Log:
    Mention Enumerator#with_index.

  Modified files:
    trunk/NEWS

Index: NEWS
===================================================================
--- NEWS	(revision 22168)
+++ NEWS	(revision 22169)
@@ -21,6 +21,15 @@
     * 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 @@
     * 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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]