Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby27
/
share
/
ri
/
system
/
Range
/
//opt/alt/ruby27/share/ri/system/Range/last-i.ri
U:RDoc::AnyMethod[iI" last:ETI"Range#last;TF:privateo:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"+Returns the last object in the range, ;TI"*or an array of the last +n+ elements.;To:RDoc::Markup::BlankLine o; ; [I"LNote that with no arguments +last+ will return the object that defines ;TI":the end of the range even if #exclude_end? is +true+.;T@o:RDoc::Markup::Verbatim; [ I"(10..20).last #=> 20 ;TI"(10...20).last #=> 20 ;TI")(10..20).last(3) #=> [18, 19, 20] ;TI"((10...20).last(3) #=> [17, 18, 19];T:@format0: @fileI"range.c;T:0@omit_headings_from_table_of_contents_below0I"0rng.last -> obj rng.last(n) -> an_array ;T0[ I"(*args);T@FI" Range;TcRDoc::NormalClass00