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
/
ruby21
/
share
/
ri
/
2.1.0
/
system
/
Enumerator
/
//opt/alt/ruby21/share/ri/2.1.0/system/Enumerator/with_index-i.ri
U:RDoc::AnyMethod[iI"with_index:ETI"Enumerator#with_index;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"DIterates the given block for each element with an index, which ;TI"Kstarts from +offset+. If no block is given, returns a new Enumerator ;TI"4that includes the index, starting from +offset+;To:RDoc::Markup::BlankLine o:RDoc::Markup::List: @type: NOTE:@items[o:RDoc::Markup::ListItem:@label[I" +offset+;T; [o; ; [I"the starting index to use;T: @fileI"enumerator.c;T:0@omit_headings_from_table_of_contents_below0I"Me.with_index(offset = 0) {|(*args), idx| ... } e.with_index(offset = 0) ;T0[ I"(p1 = v1);T@FI"Enumerator;TcRDoc::NormalClass00