Sign in Sign up
rubygems

sequence

Sequence provides a unified api for access to sequential data types, like Strings, Arrays, Files, IOs, and Enumerations. This is the external iterator pattern (ruby's usual iterators are internal). 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, and reading and writing data (with or without moving the position) forward or backward from the current position or anywhere. Its perhaps most unusual feature is the ability to scan for Regexps in not just Strings, but Files and any other type of sequence.

Activity

Latest release
10y ago
Total releases
6
Cadence
~10 months
Last 12 months
0

Details

License
GPL-2.0
First release
Oct 05, 2006
Releases
Version Released
0.2.4 patch
0.2.3 patch
0.2.2 patch
0.2.1 patch
0.2.0 minor
0.1.0 initial