Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
proc
/
thread-self
/
root
/
proc
/
self
/
root
/
opt
/
ruby-2.6
/
usr
/
share
/
ri
/
2.6.0
/
system
/
Array
/
//proc/thread-self/root/proc/self/root/opt/ruby-2.6/usr/share/ri/2.6.0/system/Array/push-i.ri
U:RDoc::AnyMethod[iI" push:ETI"Array#push;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"MAppend --- Pushes the given object(s) on to the end of this array. This ;TI"=expression returns the array itself, so several appends ;TI"Bmay be chained together. See also Array#pop for the opposite ;TI"effect.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [ I"a = [ "a", "b", "c" ] ;TI"a.push("d", "e", "f") ;TI"0 #=> ["a", "b", "c", "d", "e", "f"] ;TI"[1, 2, 3].push(4).push(5) ;TI" #=> [1, 2, 3, 4, 5];T:@format0: @fileI"array.c;T:0@omit_headings_from_table_of_contents_below0I"?ary.push(obj, ...) -> ary ary.append(obj, ...) -> ary ;T0[[I"append;To;; [ ;@;0I"(*args);T@FI" Array;TcRDoc::NormalClass00