./devel/ruby-io-like, Functionality of an IO object to any class

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2013Q4, Version: 0.3.0, Package name: ruby193-io-like-0.3.0, Maintainer: pkgsrc-users

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.


Required to run:
[lang/ruby193-base]

Master sites: (Expand)

SHA1: 10948be02ec924e43df28985a554dabf556f9282
RMD160: 605e44be3f2e8563b0be4e4a1b19106558cb6227
Filesize: 31 KB

Version history: (Expand)