Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
proc
/
thread-self
/
root
/
proc
/
212
/
root
/
opt
/
ruby-2.7
/
usr
/
share
/
ri
/
2.7.0
/
system
/
Range
/
//proc/thread-self/root/proc/212/root/opt/ruby-2.7/usr/share/ri/2.7.0/system/Range/last-i.ri
U:RDoc::AnyMethod[iI" last:ETI"Range#last;TF:publico: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