Categories: None [Edit]

sequence

https://rubygems.org/gems/sequence
https://github.com/coatl/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.

Total

Ranking: 47,998 of 186,833
Downloads: 22,572

Daily

Ranking: 20,943 of 186,696
Downloads: 21

Depended by

RankDownloadsName
32,60737,917rubylexer
60,48016,495reg

Depends on

RankDownloadsName

Owners

#GravatarHandle
1iconcoatl