[DOC] Related for Array#compact

This commit is contained in:
Peter Zhu 2024-09-10 15:35:29 -04:00
parent 0906b16277
commit 7facf23232
Notes: git 2024-09-11 12:49:28 +00:00

View File

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