File: C:/Ruby27-x64/share/ri/2.7.0/system/Array/first-i.ri
U:RDoc::AnyMethod[iI"
first:ETI"Array#first;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"IReturns the first element, or the first +n+ elements, of the array. ;TI"BIf the array is empty, the first form returns +nil+, and the ;TI"Asecond form returns an empty array. See also Array#last for ;TI"the opposite effect.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I" a = [ "q", "r", "s", "t" ]
;TI"a.first #=> "q"
;TI"a.first(2) #=> ["q", "r"];T:@format0:
@fileI"array.c;T:0@omit_headings_from_table_of_contents_below0I">ary.first -> obj or nil
ary.first(n) -> new_ary
;T0[ I"(*args);T@FI"
Array;TcRDoc::NormalClass00