aboutsummaryrefslogtreecommitdiffstats
path: root/enumerator.c
diff options
context:
space:
mode:
authorshugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-03-15 07:38:11 +0000
committershugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-03-15 07:38:11 +0000
commit4a1db362f0c716dfdca7289a8c61d160b8356093 (patch)
tree7393f1b6dedbe91eff9389dd510ec1e2b92c600f /enumerator.c
parentbf87ec4eb9927930d18b91220bddbe2b1a5f9cd4 (diff)
downloadruby-4a1db362f0c716dfdca7289a8c61d160b8356093.tar.gz
* enumerator.c (enumerator_lazy): added cycle to the documentation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35039 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 c4833a3ea9..9d0eeaa5f0 100644
--- a/enumerator.c
+++ b/enumerator.c
@@ -1226,8 +1226,8 @@ lazy_initialize(int argc, VALUE *argv, VALUE self)
*
* Returns a lazy enumerator, whose methods map/collect,
* flat_map/collect_concat, select/find_all, reject, grep, zip, take,
- * take_while, drop, and drop_while enumerate values only on an as-needed
- * basis.
+ * take_while, drop, drop_while, and cycle enumerate values only on an
+ * as-needed basis.
*
* === Example
*