Class: CryptReboot::Gziper
- Inherits:
-
Object
- Object
- CryptReboot::Gziper
- Defined in:
- lib/crypt_reboot/gziper.rb
Overview
Gzip data and save it to file
Instance Method Summary collapse
Instance Method Details
#call(archive_path, data) ⇒ Object
8 9 10 11 12 |
# File 'lib/crypt_reboot/gziper.rb', line 8 def call(archive_path, data) writer.call(archive_path) do |gz| gz.write data end end |