diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | enumerator.c | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -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. 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 * |