method

new

new(&block)
public

Initializes a new LazyCompressor.

The block should return a compressor when called, i.e. an object which responds to #compress.