struct

Crig::OneOrMany::Iter(T)

Inherits Iterator < Enumerable < Struct < Value < Object

Constructors

new(values : Array(T), index : Int32 = 0)
Source

Instance methods

next

Returns the next element in this iterator, or Iterator::Stop::INSTANCE if there are no more elements.

Source
size_hint
Source