diff options
author | Masataka Pocke Kuwabara <kuwabara@pocke.me> | 2020-05-27 15:37:05 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-26 23:37:05 -0700 |
commit | 64c5bf572187f602d06132d4fa18dcd4b425aa22 (patch) | |
tree | 0021aba4bbc6f09130e41f87ce6dde77449527d0 | |
parent | 9d71373c237876038cbac63bb0132907a78288a2 (diff) | |
download | ruby-64c5bf572187f602d06132d4fa18dcd4b425aa22.tar.gz |
Fix non-existent method reference in Enumerator.produce document (#3141)
-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 |