[DOC] Related for Array#push

This commit is contained in:
BurdetteLamar 2024-08-31 19:48:46 +01:00 committed by Peter Zhu
parent ccd35eaecf
commit b420b094d9
Notes: git 2024-09-10 18:00:45 +00:00

View File

@ -1415,7 +1415,7 @@ rb_ary_cat(VALUE ary, const VALUE *argv, long len)
* a = [:foo, 'bar', 2] # => [:foo, "bar", 2]
a.push([:baz, :bat], [:bam, :bad]) # => [:foo, "bar", 2, [:baz, :bat], [:bam, :bad]]
*
* Related: Array#pop, Array#shift, Array#unshift.
* Related: see {Methods for Assigning}[rdoc-ref:Array@Methods+for+Assigning].
*/
static VALUE