1
0
Fork 0
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:
Masataka Pocke Kuwabara 2020-05-27 15:46:42 +09:00 committed by GitHub
parent 64c5bf5721
commit 752041ca11
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
Notes: git 2020-05-27 15:47:09 +09:00
Merged-By: k0kubun <takashikkbn@gmail.com>

View file

@ -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.