Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
proc
/
self
/
root
/
proc
/
thread-self
/
root
/
opt
/
ruby-2.7
/
usr
/
share
/
ri
/
2.7.0
/
system
/
Array
/
//proc/self/root/proc/thread-self/root/opt/ruby-2.7/usr/share/ri/2.7.0/system/Array/unshift-i.ri
U:RDoc::AnyMethod[iI"unshift:ETI"Array#unshift;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"MPrepends objects to the front of +self+, moving other elements upwards. ;TI"2See also Array#shift for the opposite effect.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"a = [ "b", "c", "d" ] ;TI"/a.unshift("a") #=> ["a", "b", "c", "d"] ;TI"5a.unshift(1, 2) #=> [ 1, 2, "a", "b", "c", "d"];T:@format0: @fileI"array.c;T:0@omit_headings_from_table_of_contents_below0I"Aary.unshift(obj, ...) -> ary ary.prepend(obj, ...) -> ary ;T0[[I"prepend;To;; [ ;@;0I"(*args);T@FI" Array;TcRDoc::NormalClass00