Class: Net::SSH::Transport::Compress::Compressor

Class | Net::SSH::Transport::Compress::Compressor
In: | lib/net/ssh/transport/compress/compressor.rb
Parent: | Object

The ancestor class of all compression implementations.

### Methods

compress configure new

### Public Instance methods

compress( text )

Raises NotImplementedError. Subclasses must override this method to implement the desired compression functionality.

configure( options )

Reconfigure the current instance with the given options (which should be a Hash-like). Subclasses may override this method to implement the desired functionality.

new( options={} )

Return a new instance just like the current instance, but reconfigured with the given options.

[Validate]