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::BlankLineo; ; [I"IIf a number +n+ is given, returns an array of the last +n+ elements ;TI"I(or less) just like array.slice!(-n, n) 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