RubyGems Navigation menu

sequence 0.2.4

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.

Gemfile:
= Copiar al portapapeles ¡Copiado!

instalar:
=

Versiones:

  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)
Mostrar todas las versiones (6 total)

Propietarios:

Autores:

  • Caleb Clausen

SHA 256 checksum:

4994f274fba9b3a83c90ba1ab080aa0e136aecbd593a1be5fe4e33d404fd3cca

Total de descargas 21.436

Para esta versión 2.988

Licencia:

GPL-2.0

Versión de Ruby requerida: >= 0

Enlace: