U:RDoc::NormalModule[iI"Enumerable:ET@0o:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[
I"HThe Enumerable
mixin provides collection classes with ;TI"Fseveral traversal and searching methods, and with the ability to ;TI"Dsort. The class must provide a method each
, which ;TI"5yields successive members of the collection. If ;TI"8Enumerable#max
, #min
, or ;TI"I#sort
is used, the objects in the collection must also ;TI"Himplement a meaningful <=>
operator, as these methods ;TI";rely on an ordering between members of the collection.;T:
@fileI"enum.c;T:0@omit_headings_from_table_of_contents_below0o;;[ ;
I"lib/set.rb;T;0;
0;0[ [ [ [[I"
class;T[[:public[ [:protected[ [:private[ [I"
instance;T[[;[=[I" all?;TI"enum.c;T[I" any?;T@.[I"
chunk;T@.[I"chunk_while;T@.[I"collect;T@.[I"collect_concat;T@.[I"
count;T@.[I"
cycle;T@.[I"detect;T@.[I" drop;T@.[I"drop_while;T@.[I"each_cons;T@.[I"each_entry;T@.[I"each_slice;T@.[I"each_with_index;T@.[I"each_with_object;T@.[I"entries;T@.[I" find;T@.[I"
find_all;T@.[I"find_index;T@.[I"
first;T@.[I"
flat_map;T@.[I" grep;T@.[I"grep_v;T@.[I"
group_by;T@.[I"
include?;T@.[I"inject;T@.[I" lazy;TI"enumerator.c;T[I"map;T@.[I"max;T@.[I"max_by;T@.[I"member?;T@.[I"min;T@.[I"min_by;T@.[I"minmax;T@.[I"minmax_by;T@.[I"
none?;T@.[I" one?;T@.[I"partition;T@.[I"reduce;T@.[I"reject;T@.[I"reverse_each;T@.[I"select;T@.[I"slice_after;T@.[I"slice_before;T@.[I"slice_when;T@.[I" sort;T@.[I"sort_by;T@.[I"sum;T@.[I" take;T@.[I"take_while;T@.[I" to_a;T@.[I" to_h;T@.[I"to_set;FI"lib/set.rb;T[I" uniq;T@.[I"zip;T@.[;
[ [;[ [ [U:RDoc::Context::Section[i 0o;;[ ;
0;0[@I"enumerator.c;T@@cRDoc::TopLevel