[DOC] Relateds for combo methods (#11483)
This commit is contained in:
parent
079161e1ba
commit
74888846e5
Notes:
git
2024-08-29 14:44:12 +00:00
Merged-By: peterzhu2118 <peter@peterzhu.ca>
11
array.c
11
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]
|
||||||
* 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
|
VALUE
|
||||||
@ -5468,7 +5468,7 @@ ary_make_hash_by(VALUE ary)
|
|||||||
* Element are compared using method <tt>#eql?</tt>
|
* Element are compared using method <tt>#eql?</tt>
|
||||||
* (as defined in each element of +self+).
|
* (as defined in each element of +self+).
|
||||||
*
|
*
|
||||||
* Related: Array#difference.
|
* Related: see {Methods for Combining}[rdoc-ref:Array@Methods+for+Combining].
|
||||||
*/
|
*/
|
||||||
|
|
||||||
VALUE
|
VALUE
|
||||||
@ -5574,12 +5574,7 @@ rb_ary_difference_multi(int argc, VALUE *argv, VALUE ary)
|
|||||||
* Identifies common elements using method <tt>#eql?</tt>
|
* Identifies common elements using method <tt>#eql?</tt>
|
||||||
* (as defined in each element of +self+).
|
* (as defined in each element of +self+).
|
||||||
*
|
*
|
||||||
* Related:
|
* Related: see {Methods for Combining}[rdoc-ref:Array@Methods+for+Combining].
|
||||||
*
|
|
||||||
* - 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.
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user