class V1::Util::ReaderAndCloser

Overview

implements IO read and close by reading from a particular IO reader and then calling the provided close method

Direct Known Subclasses

Defined in:

v1/util/and_closer.cr

Constructors

Instance Method Summary

Macro Summary

Constructor Detail

def self.new(reader, closer) #

[View source]

Instance Method Detail

def close #

[View source]
def read(b : Bytes) #

[View source]
def reader : IO #

[View source]
def write(b : Bytes) #

[View source]

Macro Detail

macro method_missing(call) #

[View source]