RubyGems Navigation menu

seq 0.3.0

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.

Versions:

  1. 0.3.0 - March 7, 2014 (11 KB)
  2. 0.2.0 - May 1, 2013 (8.5 KB)
  3. 0.1.0 - July 21, 2011 (7.5 KB)

Development Dependencies:

Authors:

  • Joshua Hawxwell

Owners:

Da3fc7d37c6df557935513f4547cfb3c

Total downloads 1,964

For this version 330

Required Ruby Version: None

Licenses:

N/A

Gemfile:
gem 'seq', '~> 0.3.0' = Copy to clipboard Copied!

install:
gem install seq = Copy to clipboard Copied!

Links: