module Iterable
Overview
The Iterable mixin provides convenience methods to collection classes
that provide an #each method that returns an Iterator over the collection.
Direct including types
Defined in:
iterable.crInstance Method Summary
- 
        #cycle
        
          
Same as
each.cycle. - 
        #cycle(n)
        
          
Same as
each.cycle(n). - 
        #each
        
          
Must return an
Iteratorover the elements in this collection. - 
        #each_cons(count : Int)
        
          
Same as
each.cons(count). - 
        #each_slice(count : Int)
        
          
Same as
each.slice(count). - 
        #each_with_index(offset = 0)
        
          
Same as
each.with_index(offset). - 
        #each_with_object(obj)
        
          
Same as
each.with_object(obj).