Module: HrrRbSsh::Transport::CompressionAlgorithm::Unfunctionable

Includes:
Loggable
Included in:
None
Defined in:
lib/hrr_rb_ssh/transport/compression_algorithm/unfunctionable.rb

Instance Attribute Summary

Attributes included from Loggable

#log_key, #logger

Instance Method Summary collapse

Methods included from Loggable

#log_debug, #log_error, #log_fatal, #log_info, #log_warn

Instance Method Details

#closeObject



24
25
26
# File 'lib/hrr_rb_ssh/transport/compression_algorithm/unfunctionable.rb', line 24

def close
  nil
end

#deflate(data) ⇒ Object



16
17
18
# File 'lib/hrr_rb_ssh/transport/compression_algorithm/unfunctionable.rb', line 16

def deflate data
  data
end

#inflate(data) ⇒ Object



20
21
22
# File 'lib/hrr_rb_ssh/transport/compression_algorithm/unfunctionable.rb', line 20

def inflate data
  data
end

#initialize(direction = nil, logger: nil) ⇒ Object



12
13
14
# File 'lib/hrr_rb_ssh/transport/compression_algorithm/unfunctionable.rb', line 12

def initialize direction=nil, logger: nil
  self.logger = logger
end