From 74888846e542362354a16930723ec5f34f5b39d9 Mon Sep 17 00:00:00 2001 From: Burdette Lamar Date: Thu, 29 Aug 2024 09:43:54 -0500 Subject: [PATCH] [DOC] Relateds for combo methods (#11483) --- array.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/array.c b/array.c index 6e8f4b3f71..ebaebe4ee7 100644 --- a/array.c +++ b/array.c @@ -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 #eql? * (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 #eql? * (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]. */