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