mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update Enumerable::Yielder#to_proc document (#3142)
This commit is contained in:
parent
64c5bf5721
commit
752041ca11
Notes:
git
2020-05-27 15:47:09 +09:00
Merged-By: k0kubun <takashikkbn@gmail.com>
1 changed files with 1 additions and 1 deletions
|
@ -1365,7 +1365,7 @@ yielder_yield_push(VALUE obj, VALUE arg)
|
|||
}
|
||||
|
||||
/*
|
||||
* Returns a Proc object that takes an argument and yields it.
|
||||
* Returns a Proc object that takes arguments and yields them.
|
||||
*
|
||||
* This method is implemented so that a Yielder object can be directly
|
||||
* passed to another method as a block argument.
|
||||
|
|
Loading…
Add table
Reference in a new issue