aboutsummaryrefslogtreecommitdiffstats
path: root/enumerator.c
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 /enumerator.c
parent9fe55c12c0f6e4b6efc11e5fdb81366742c6fb29 (diff)
downloadruby-b649592c4ab31c5ac0cbbd0c5136b7cbbeb82c32.tar.gz
* 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
Diffstat (limited to 'enumerator.c')
-rw-r--r--enumerator.c4
1 files changed, 2 insertions, 2 deletions
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