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.

Gemfile:
= In die Zwischenablage kopieren Kopiert!

installieren:
=

Versionen:

  1. 0.3.0 - March 07, 2014 (11 KB)
  2. 0.2.0 - May 01, 2013 (8,5 KB)
  3. 0.1.0 - July 22, 2011 (7,5 KB)

Development Abhängigkeiten (1):

minitest ~> 2.3.1

Besitzer:

Autoren:

  • Joshua Hawxwell

SHA 256-Prüfsumme:

53d7c6f1a6acaeba91afe3d2000899e66b2098dcbe7fdfc6a8385f50d1bb5e72

Downloads insgesamt 9.146

Für diese Version 3.427

Lizenzen:

k.A.

Erforderliche Ruby-Version: None

Links: