⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.133
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
proc
/
self
/
root
/
usr
/
share
/
ri
/
3.0.0
/
system
/
Array
/
View File Name :
push-i.ri
U:RDoc::AnyMethod[iI" push:ETI"Array#push;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"Appends trailing elements.;To:RDoc::Markup::BlankLine o; ; [I"CAppends each argument in +objects+ to +self+; returns +self+:;To:RDoc::Markup::Verbatim; [I"a = [:foo, 'bar', 2] ;TI":a.push(:baz, :bat) # => [:foo, "bar", 2, :baz, :bat] ;T:@format0o; ; [I"HAppends each argument as one element, even if it is another \Array:;To;; [I"a = [:foo, 'bar', 2] ;TI"-a1 = a.push([:baz, :bat], [:bam, :bad]) ;TI":a1 # => [:foo, "bar", 2, [:baz, :bat], [:bam, :bad]] ;T; 0o; ; [I".Array#append is an alias for \Array#push.;T@o; ; [I"%Related: #pop, #shift, #unshift.;T: @fileI"array.c;T:0@omit_headings_from_table_of_contents_below0I""array.push(*objects) -> self ;T0[[I"append;T@ I"(*args);T@$FI" Array;TcRDoc::NormalClass00