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

ruby-changes:12858

From: akr <ko1@a...>
Date: Thu, 20 Aug 2009 05:29:06 +0900 (JST)
Subject: [ruby-changes:12858] Ruby:r24590 (trunk): rdoc update.

akr	2009-08-20 05:26:38 +0900 (Thu, 20 Aug 2009)

  New Revision: 24590

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

  Log:
    rdoc update.

  Modified files:
    trunk/enumerator.c

Index: enumerator.c
===================================================================
--- enumerator.c	(revision 24589)
+++ enumerator.c	(revision 24590)
@@ -625,13 +625,12 @@
  *   p e.next
  *   p e.next
  *
- *   # result
- *   # next_values      next
- *   # []               nil
- *   # [1]              1
- *   # [1, 2]           [1, 2]
- *   # [nil]            nil
- *   # [[1, 2]]         [1, 2]
+ *   ## yield args       next_values      next
+ *   #  yield            []               nil
+ *   #  yield 1          [1]              1
+ *   #  yield 1, 2       [1, 2]           [1, 2]
+ *   #  yield nil        [nil]            nil
+ *   #  yield [1, 2]     [[1, 2]]         [1, 2]
  *
  * Note that enumeration sequence by next_values method does not affect other
  * non-external enumeration methods, unless underlying iteration

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

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