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

ruby-changes:30327

From: zzak <ko1@a...>
Date: Mon, 5 Aug 2013 06:15:20 +0900 (JST)
Subject: [ruby-changes:30327] zzak:r42379 (trunk): * enumerator.c: [DOC] Remove reference to Enumerator::Lazy#cycle

zzak	2013-08-05 06:15:08 +0900 (Mon, 05 Aug 2013)

  New Revision: 42379

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

  Log:
    * enumerator.c: [DOC] Remove reference to Enumerator::Lazy#cycle
      Patch by @kachick [Fixes GH-372]
      https://github.com/ruby/ruby/pull/372

  Modified files:
    trunk/ChangeLog
    trunk/enumerator.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 42378)
+++ ChangeLog	(revision 42379)
@@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Mon Aug  5 06:13:48 2013  Zachary Scott  <e@z...>
+
+	* enumerator.c: [DOC] Remove reference to Enumerator::Lazy#cycle
+	  Patch by @kachick [Fixes GH-372]
+	  https://github.com/ruby/ruby/pull/372
+
 Mon Aug  5 03:57:16 2013  Zachary Scott  <e@z...>
 
 	* lib/rss/0.9.rb: [DOC] Document RSS09 by Steve Klabnik [Bug #8732]
Index: enumerator.c
===================================================================
--- enumerator.c	(revision 42378)
+++ enumerator.c	(revision 42379)
@@ -1385,8 +1385,8 @@ lazy_set_method(VALUE lazy, VALUE args, https://github.com/ruby/ruby/blob/trunk/enumerator.c#L1385
  *
  * Returns a lazy enumerator, whose methods map/collect,
  * flat_map/collect_concat, select/find_all, reject, grep, zip, take,
- * take_while, drop, drop_while, and cycle enumerate values only on an
- * as-needed basis.  However, if a block is given to zip or cycle, values
+ * take_while, drop, and drop_while enumerate values only on an
+ * as-needed basis.  However, if a block is given to zip, values
  * are enumerated immediately.
  *
  * === Example

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

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