Releases3
Frequency1 year 3 months
Last Release
Stars2
Seq cycles over elements of an array.

Linked projects

A Seq is created with an array, and optionally a number of elements to return, an offset to start at and a default item to return when ended. Call #next to return the next item. A Seq::Random will return randomly selected elements from the array. A Seq::Lazy will lazily evaluate a block to get the next element.