U:RDoc::AnyMethod[iI" last:ETI"Array#last;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"CReturns the last element(s) of +self+. If the array is empty, ;TI""the first form returns +nil+.;To:RDoc::Markup::BlankLineo; ; [I"2See also Array#first for the opposite effect.;T@o:RDoc::Markup::Verbatim; [I" a = [ "w", "x", "y", "z" ] ;TI"a.last #=> "z" ;TI"a.last(2) #=> ["y", "z"];T: @format0: @fileI" array.c;T:0@omit_headings_from_table_of_contents_below0I":ary.last -> obj or nil ary.last(n) -> new_ary ;T0[I" (*args);T@FI" Array;TcRDoc::NormalClass00