Class: Ccrypto::CompressionConfig
- Inherits:
-
Object
- Object
- Ccrypto::CompressionConfig
- Includes:
- AlgoConfig
- Defined in:
- lib/ccrypto/configs/compress_config.rb
Instance Attribute Summary collapse
-
#level ⇒ Object
Returns the value of attribute level.
-
#strategy ⇒ Object
Returns the value of attribute strategy.
Instance Method Summary collapse
-
#initialize ⇒ CompressionConfig
constructor
A new instance of CompressionConfig.
Methods included from AlgoConfig
Constructor Details
#initialize ⇒ CompressionConfig
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
#level ⇒ Object
Returns the value of attribute level.
8 9 10 |
# File 'lib/ccrypto/configs/compress_config.rb', line 8 def level @level end |
#strategy ⇒ Object
Returns the value of attribute strategy.
8 9 10 |
# File 'lib/ccrypto/configs/compress_config.rb', line 8 def strategy @strategy end |