RubyGems Navigation menu

sequence 0.2.2

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:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  1. 0.2.4 - August 12, 2016 (70.0 KB)
  2. 0.2.3 - January 03, 2010 (59.0 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 个)

业主:

作者:

  • Caleb Clausen

SHA 256 校验和:

465986a1ca494ca9e613b53ee7adc9b7aa0a7f05df0b18fa88a42f6f25242e0e

下载总量 21,483

这个版本 3,378

许可:

需要的 Ruby 版本:

链接: