diff options
Diffstat (limited to 'enumerator.c')
-rw-r--r-- | enumerator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/enumerator.c b/enumerator.c index a83d0767d8..8b1a7e543a 100644 --- a/enumerator.c +++ b/enumerator.c @@ -2996,7 +2996,7 @@ producer_size(VALUE obj, VALUE args, VALUE eobj) * enclosing_section = ancestors.find { |n| n.type == :section } * * Using ::produce together with Enumerable methods like Enumerable#detect, - * Enumerable#slice, Enumerable#take_while can provide Enumerator-based alternatives + * Enumerable#slice_after, Enumerable#take_while can provide Enumerator-based alternatives * for +while+ and +until+ cycles: * * # Find next Tuesday |