Class | Net::SSH::Transport::Compress::Compressor |
In: |
lib/net/ssh/transport/compress/compressor.rb
|
Parent: | Object |
Raises NotImplementedError. Subclasses must override this method to implement the desired compression functionality.
# File lib/net/ssh/transport/compress/compressor.rb, line 42 42: def compress( text ) 43: raise NotImplementedError, 44: "subclasses must implement the 'compress' method" 45: end
Reconfigure the current instance with the given options (which should be a Hash-like). Subclasses may override this method to implement the desired functionality.
# File lib/net/ssh/transport/compress/compressor.rb, line 37 37: def configure( options ) 38: end