ÿØÿà JFIF ÿÛ „ ( %!1!%*+...983,7(-.-
PK J]jU with_index-i.rinu [ U:RDoc::AnyMethod[iI"with_index:ETI"Enumerator#with_index;TF:privateo: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"(*args);T@FI"Enumerator;TcRDoc::NormalClass00PK J]A Producer/cdesc-Producer.rinu [ U:RDoc::NormalClass[iI"
Producer:ETI"Enumerator::Producer;TI"Object;To:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[I"
Producer;To:RDoc::Markup::BlankLine :
@fileI"enumerator.c;T:0@omit_headings_from_table_of_contents_below0;0;0[ [ [ [[I"
class;T[[:public[ [:protected[ [:private[ [I"
instance;T[[;
[ [;[ [;[ [ [U:RDoc::Context::Section[i 0o;;[ ;0;0[I"enumerator.c;TI"Enumerator;TcRDoc::NormalClassPK J]"U U inspect-i.rinu [ U:RDoc::AnyMethod[iI"inspect:ETI"Enumerator#inspect;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"-Creates a printable version of e.;T:
@fileI"enumerator.c;T:0@omit_headings_from_table_of_contents_below0I"e.inspect -> string
;T0[ I"();T@FI"Enumerator;TcRDoc::NormalClass00PK J]{]d d Chain/inspect-i.rinu [ U:RDoc::AnyMethod[iI"inspect:ETI"Enumerator::Chain#inspect;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"9Returns a printable version of the enumerator chain.;T:
@fileI"enumerator.c;T:0@omit_headings_from_table_of_contents_below0I"obj.inspect -> string
;T0[ I"();T@FI"
Chain;TcRDoc::NormalClass00PK J]ҋV V Chain/new-c.rinu [ U:RDoc::AnyMethod[iI"new:ETI"Enumerator::Chain::new;TT:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"GGenerates a new enumerator object that iterates over the elements ;TI"-of given enumerable objects in sequence.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"-e = Enumerator::Chain.new(1..3, [4, 5])
;TI" e.to_a #=> [1, 2, 3, 4, 5]
;TI"e.size #=> 5;T:@format0:
@fileI"enumerator.c;T:0@omit_headings_from_table_of_contents_below0I"+Enumerator::Chain.new(*enums) -> enum
;T0[ I"(*args);T@FI"
Chain;TcRDoc::NormalClass00PK J]3 3 Chain/size-i.rinu [ U:RDoc::AnyMethod[iI" size:ETI"Enumerator::Chain#size;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"BReturns the total size of the enumerator chain calculated by ;TI"Isumming up the size of each enumerable in the chain. If any of the ;TI"Henumerables reports its size as nil or Float::INFINITY, that value ;TI"#is returned as the total size.;T:
@fileI"enumerator.c;T:0@omit_headings_from_table_of_contents_below0I"-obj.size -> int, Float::INFINITY or nil
;T0[ I"();T@FI"
Chain;TcRDoc::NormalClass00PK J]HU Chain/rewind-i.rinu [ U:RDoc::AnyMethod[iI"rewind:ETI"Enumerator::Chain#rewind;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"IRewinds the enumerator chain by calling the "rewind" method on each ;TI"Fenumerable in reverse order. Each call is performed only if the ;TI"'enumerable responds to the method.;T:
@fileI"enumerator.c;T:0@omit_headings_from_table_of_contents_below0I"obj.rewind -> obj
;T0[ I"();T@FI"
Chain;TcRDoc::NormalClass00PK J] Chain/each-i.rinu [ U:RDoc::AnyMethod[iI" each:ETI"Enumerator::Chain#each;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"GIterates over the elements of the first enumerable by calling the ;TI"H"each" method on it with the given arguments, then proceeds to the ;TI"Hfollowing enumerables in sequence until all of the enumerables are ;TI"exhausted.;To:RDoc::Markup::BlankLine o;
; [I"1If no block is given, returns an enumerator.;T:
@fileI"enumerator.c;T:0@omit_headings_from_table_of_contents_below0I"Hobj.each(*args) { |...| ... } -> obj
obj.each(*args) -> enumerator
;T0[ I"(*args);T@FI"
Chain;TcRDoc::NormalClass00PK J]F] Chain/cdesc-Chain.rinu [ U:RDoc::NormalClass[iI"
Chain:ETI"Enumerator::Chain;TI"Enumerator;To:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[I"GEnumerator::Chain is a subclass of Enumerator, which represents a ;TI"