Gestionnaire de fichiers - Editer - /opt/cpanel/ea-ruby24/root/usr/share/ri/system/Array/pop-i.ri
Arrière
U:RDoc::AnyMethod[iI"pop:ETI"Array#pop;TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"=Removes the last element from +self+ and returns it, or ;TI"!+nil+ if the array is empty.;To:RDoc::Markup::BlankLine o; ; [I"IIf a number +n+ is given, returns an array of the last +n+ elements ;TI"I(or less) just like <code>array.slice!(-n, n)</code> does. See also ;TI"(Array#push for the opposite effect.;T@o:RDoc::Markup::Verbatim; [ I" a = [ "a", "b", "c", "d" ] ;TI"a.pop #=> "d" ;TI"a.pop(2) #=> ["b", "c"] ;TI"a #=> ["a"];T:@format0: @fileI"array.c;T:0@omit_headings_from_table_of_contents_below0I"4ary.pop -> obj or nil ary.pop(n) -> new_ary ;T0[ I"(*args);T@FI" Array;TcRDoc::NormalClass00
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Génération de la page: 0.02 |
proxy
|
phpinfo
|
Réglages