summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2012-03-20 07:24:21 +0000
committertaca <taca@pkgsrc.org>2012-03-20 07:24:21 +0000
commit36663bc55bfc8df406adfcbe117a41db464219c8 (patch)
treec71b16a93f3034f7d6854bd22c4a628940eaed82 /databases
parent959f4d4d8f18cd631d6bda6610d3b898c72cfe8c (diff)
downloadpkgsrc-36663bc55bfc8df406adfcbe117a41db464219c8.tar.gz
Importing ruby-io-like version 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.
Diffstat (limited to 'databases')
0 files changed, 0 insertions, 0 deletions