mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 04:24:23 +00:00
Fix non-existent method reference in Enumerator.produce document (#3141)
This commit is contained in:
parent
9d71373c23
commit
64c5bf5721
Notes:
git
2020-05-27 15:37:30 +09:00
Merged-By: k0kubun <takashikkbn@gmail.com>
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user