mirror of
https://github.com/ruby/ruby.git
synced 2025-09-18 10:03:59 +02:00
[DOC] Related for Array#collect!
This commit is contained in:
parent
316c2001e0
commit
175a98d516
Notes:
git
2024-09-10 19:30:58 +00:00
1 changed files with 3 additions and 0 deletions
3
array.c
3
array.c
|
@ -3730,6 +3730,9 @@ rb_ary_collect(VALUE ary)
|
||||||
* a.map! { |element| element.class } # => [Symbol, String, Integer]
|
* a.map! { |element| element.class } # => [Symbol, String, Integer]
|
||||||
*
|
*
|
||||||
* With no block given, returns a new Enumerator.
|
* With no block given, returns a new Enumerator.
|
||||||
|
*
|
||||||
|
* Related: #collect;
|
||||||
|
* see also {Methods for Converting}[rdoc-ref:Array@Methods+for+Converting].
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static VALUE
|
static VALUE
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue