summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-08-04 21:15:08 +0000
committerzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-08-04 21:15:08 +0000
commitb649592c4ab31c5ac0cbbd0c5136b7cbbeb82c32 (patch)
tree2173e339d6ed76b0c91dfdd7012683fa0d208119
parent9fe55c12c0f6e4b6efc11e5fdb81366742c6fb29 (diff)
* enumerator.c: [DOC] Remove reference to Enumerator::Lazy#cycle
Patch by @kachick [Fixes GH-372] https://github.com/ruby/ruby/pull/372 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog6
-rw-r--r--enumerator.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 46cbb3027e..83cfbaa1e1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Mon Aug 5 06:13:48 2013 Zachary Scott <e@zzak.io>
+
+ * 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@zzak.io>
* lib/rss/0.9.rb: [DOC] Document RSS09 by Steve Klabnik [Bug #8732]
diff --git a/enumerator.c b/enumerator.c
index aa961851bf..df73aef7a2 100644
--- a/enumerator.c
+++ b/enumerator.c
@@ -1385,8 +1385,8 @@ lazy_set_method(VALUE lazy, VALUE args, rb_enumerator_size_func *size_fn)
*
* 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