Class: Rmsgen::Compresser
- Inherits:
-
Object
- Object
- Rmsgen::Compresser
- Defined in:
- lib/rmsgen/compresser.rb
Instance Method Summary collapse
- #body ⇒ Object
-
#initialize(part_group = []) ⇒ Compresser
constructor
A new instance of Compresser.
Constructor Details
#initialize(part_group = []) ⇒ Compresser
Returns a new instance of Compresser.
3 4 5 6 |
# File 'lib/rmsgen/compresser.rb', line 3 def initialize(part_group=[]) @part_group = part_group run! end |
Instance Method Details
#body ⇒ Object
8 9 10 |
# File 'lib/rmsgen/compresser.rb', line 8 def body @part_group.join PartGroup::DELIMETER end |