RubyGems Navigation menu

sequence 0.2.3

Sequence provides a unified api for access to sequential data types, like Strings, Arrays, Files, IOs, and Enumerations. Each sequence encapsulates some data and a current position within it. Some operations apply to data at (or relative to) the position, others are independant of position. The api contains operations for moving the position, reading and writing data (with or without moving the position) forward or backward from the current position or anywhere, scanning for patterns (like StringScanner, but it works in Files too, among others), and saving a position that will remain valid even after data is deleted or inserted elsewhere within the sequence. There are also some utility classes for making sequences reversed or circular, turning one-way sequences into two-way, buffering, and making sequences that are subsets or aggregations of existing sequences.

Gemfile:
=

install:
=

Versions:

  1. 0.2.4 August 12, 2016 (70 KB)
  2. 0.2.3 January 03, 2010 (59 KB)
  3. 0.2.2 August 07, 2009 (59.5 KB)
  4. 0.2.1 August 05, 2009 (58.5 KB)
  5. 0.2.0 August 28, 2008* (57.5 KB)
Show all versions (6 total)

Owners:

Authors:

  • Caleb Clausen

SHA 256 checksum:

=

Total downloads 22,001

For this version 5,224

Version Released:

Licenses:

N/A

Required Ruby Version: None

Links: