📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: Apache
2026-06-22 09:05:28
📂
/ (Root)
/
opt
/
alt
/
ruby27
/
share
/
ri
/
system
/
Array
📍 /opt/alt/ruby27/share/ri/system/Array
🔄 Refresh
✏️
Editing: unshift-i.ri
Read Only
U:RDoc::AnyMethod[iI"unshift:ETI"Array#unshift;TF:privateo: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
💾 Save Changes
❌ Cancel