RubyGems Navigation menu

sequence 0.1.0

A unified wrapper api for accessing data in Strings, Arrays, Files, IOs, and Enumerations. Each sequence encapsulates some data and a current position within it. There are methods for moving the position, reading and writing data (with or without moving the position) forward or backward from the current position (or anywhere at all), 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:
= Copy to clipboard Copied!

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)
  6. 0.1.0 - October 05, 2006* (57 KB)
Show all versions (6 total)

Runtime Dependencies (1):

hoe >= 1.0.5

Owners:

Authors:

  • Caleb Clausen

SHA 256 checksum:

cda8b08d0be0252c5233ac3d9abda516fe4f231d398f62c70732e628760d54c6

Total downloads 21,489

For this version 3,300

Licenses:

N/A

Required Ruby Version: > 0.0.0

Links: