1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
shugo 2012-03-15 07:38:11 +00:00
parent bf87ec4eb9
commit 4a1db362f0
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
Thu Mar 15 16:37:38 2012 Shugo Maeda <shugo@ruby-lang.org>
* enumerator.c (enumerator_lazy): added cycle to the documentation.
Thu Mar 15 15:37:42 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
* parse.y (parser_yylex): fix warning line number.

View file

@ -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
*