[DOC] Relateds for combo methods (#11483)

This commit is contained in:
Burdette Lamar 2024-08-29 09:43:54 -05:00 committed by GitHub
parent 079161e1ba
commit 74888846e5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
Notes: git 2024-08-29 14:44:12 +00:00
Merged-By: peterzhu2118 <peter@peterzhu.ca>

11
array.c
View File

@ -4946,7 +4946,7 @@ rb_ary_fill(int argc, VALUE *argv, VALUE ary)
* a = [0, 1] + [2, 3]
* a # => [0, 1, 2, 3]
*
* Related: Array#concat, Array#*.
* Related: see {Methods for Combining}[rdoc-ref:Array@Methods+for+Combining].
*/
VALUE
@ -5468,7 +5468,7 @@ ary_make_hash_by(VALUE ary)
* Element are compared using method <tt>#eql?</tt>
* (as defined in each element of +self+).
*
* Related: Array#difference.
* Related: see {Methods for Combining}[rdoc-ref:Array@Methods+for+Combining].
*/
VALUE
@ -5574,12 +5574,7 @@ rb_ary_difference_multi(int argc, VALUE *argv, VALUE ary)
* Identifies common elements using method <tt>#eql?</tt>
* (as defined in each element of +self+).
*
* Related:
*
* - Array#intersection: intersection of +self+ and multiple other arrays.
* - Array#|: union of +self+ and one other array.
* - Array#union: union of +self+ and multiple other arrays.
*
* Related: see {Methods for Combining}[rdoc-ref:Array@Methods+for+Combining].
*/