[DOC] Tweaks to Array#+ (#11302)
This commit is contained in:
parent
53f3036bf9
commit
2a31410ebe
Notes:
git
2024-08-07 19:59:21 +00:00
Merged-By: peterzhu2118 <peter@peterzhu.ca>
6
array.c
6
array.c
@ -4900,15 +4900,15 @@ rb_ary_fill(int argc, VALUE *argv, VALUE ary)
|
||||
|
||||
/*
|
||||
* call-seq:
|
||||
* array + other_array -> new_array
|
||||
* self + other_array -> new_array
|
||||
*
|
||||
* Returns a new +Array+ containing all elements of +array+
|
||||
* Returns a new array containing all elements of +self+
|
||||
* followed by all elements of +other_array+:
|
||||
*
|
||||
* a = [0, 1] + [2, 3]
|
||||
* a # => [0, 1, 2, 3]
|
||||
*
|
||||
* Related: #concat.
|
||||
* Related: Array#concat, Array#*.
|
||||
*/
|
||||
|
||||
VALUE
|
||||
|
Loading…
x
Reference in New Issue
Block a user