Class: Omnizip::Formats::Rar::Rar5::Solid::SolidEncoder::LzmaOptions
- Inherits:
-
Object
- Object
- Omnizip::Formats::Rar::Rar5::Solid::SolidEncoder::LzmaOptions
- Defined in:
- lib/omnizip/formats/rar/rar5/solid/solid_encoder.rb
Overview
Simple options class for LZMA parameters
Instance Attribute Summary collapse
-
#dict_size ⇒ Object
readonly
Returns the value of attribute dict_size.
-
#level ⇒ Object
readonly
Returns the value of attribute level.
Instance Method Summary collapse
-
#initialize(level, dict_size) ⇒ LzmaOptions
constructor
A new instance of LzmaOptions.
Constructor Details
#initialize(level, dict_size) ⇒ LzmaOptions
Returns a new instance of LzmaOptions.
98 99 100 101 |
# File 'lib/omnizip/formats/rar/rar5/solid/solid_encoder.rb', line 98 def initialize(level, dict_size) @level = level @dict_size = dict_size end |
Instance Attribute Details
#dict_size ⇒ Object (readonly)
Returns the value of attribute dict_size.
96 97 98 |
# File 'lib/omnizip/formats/rar/rar5/solid/solid_encoder.rb', line 96 def dict_size @dict_size end |
#level ⇒ Object (readonly)
Returns the value of attribute level.
96 97 98 |
# File 'lib/omnizip/formats/rar/rar5/solid/solid_encoder.rb', line 96 def level @level end |