Class: Ccrypto::CompressionConfig

Inherits:
Object
  • Object
show all
Includes:
AlgoConfig
Defined in:
lib/ccrypto/configs/compress_config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from AlgoConfig

include

Constructor Details

#initializeCompressionConfig

Returns a new instance of CompressionConfig.



10
11
12
13
# File 'lib/ccrypto/configs/compress_config.rb', line 10

def initialize
  @level = :default
  @strategy = :default
end

Instance Attribute Details

#levelObject

Returns the value of attribute level.



8
9
10
# File 'lib/ccrypto/configs/compress_config.rb', line 8

def level
  @level
end

#strategyObject

Returns the value of attribute strategy.



8
9
10
# File 'lib/ccrypto/configs/compress_config.rb', line 8

def strategy
  @strategy
end