summaryrefslogtreecommitdiff
path: root/enumerator.c
diff options
context:
space:
mode:
authornagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-09-13 14:18:33 +0000
committernagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-09-13 14:18:33 +0000
commit4dbca94e9ecc96cf5ee14f200eaaa5178b6eccbf (patch)
treecde9a87ca190e5d330b0b77d6f23bf63c6e07450 /enumerator.c
parent4c2f2ffc02c9a8bff5750d754c5a6e8502ae3a64 (diff)
merge revision(s) 42379: [Backport #8904]
* 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/branches/ruby_2_0_0@42935 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 63b033fc2f..a273359115 100644
--- a/enumerator.c
+++ b/enumerator.c
@@ -1347,8 +1347,8 @@ lazy_set_method(VALUE lazy, VALUE args, VALUE (*size_fn)(ANYARGS))
*
* 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