RubyGems Navigation menu

io-like 0.3.0

The IO::Like module provides the methods of an IO object based upon on a few simple methods provided by the including class: unbuffered_read, unbuffered_write, and unbuffered_seek. These methods provide the underlying read, write, and seek support respectively, and only the method or methods necessary to the correct operation of the IO aspects of the including class need to be provided. Missing functionality will cause the resulting object to appear read-only, write-only, and/or unseekable depending on which underlying methods are absent. Additionally, read and write operations which are buffered in IO are buffered with independently configurable buffer sizes. Duplexed objects (those with separate read and write streams) are also supported.

Versions:

  1. 0.3.0 - April 29, 2009 (31 KB)
  2. 0.2.0 - March 11, 2009 (30 KB)
  3. 0.1.0 - July 3, 2008 (29.5 KB)

Authors:

  • Jeremy Bopp

Owners:

C5e056d4888f81842e966ff308c03416

Sha 256 checksum:

d3fc128940d11704ac0d9bc0d46a2b30be162aca030273e690b1bfca8506d612

Total downloads 108,200

For this version 104,730

Required Ruby Version: None

Licenses:

N/A

Gemfile:
= Copy to clipboard Copied!

install:
= Copy to clipboard Copied!

Links: