RubyGems Navigation menu

sequence 0.2.1

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)
Show all versions (6 total)

Development Dependencies (1):

hoe >= 1.12.2

Owners:

Authors:

  • Caleb Clausen

SHA 256 checksum:

b553eed057b8ac0b5b4ade02e3d0be8b61aa66aeb3cd42d391ed74ab8c0140e4

Total downloads 21,442

For this version 3,317

Licenses:

N/A

Required Ruby Version: None

Links: