[DOC] Related for Array#compact
This commit is contained in:
parent
0906b16277
commit
7facf23232
Notes:
git
2024-09-11 12:49:28 +00:00
3
array.c
3
array.c
@ -6358,7 +6358,8 @@ rb_ary_compact_bang(VALUE ary)
|
||||
* a = [nil, 0, nil, false, nil, '', nil, [], nil, {}]
|
||||
* a.compact # => [0, false, "", [], {}]
|
||||
*
|
||||
* Related: Array#compact!.
|
||||
* Related: Array#compact!;
|
||||
* see also {Methods for Deleting}[rdoc-ref:Array@Methods+for+Deleting].
|
||||
*/
|
||||
|
||||
static VALUE
|
||||
|
Loading…
x
Reference in New Issue
Block a user