Class: Backup::Compressor::Base
- Inherits:
-
Object
- Object
- Backup::Compressor::Base
- Includes:
- Backup::Config::Helpers, Utilities::Helpers
- Defined in:
- lib/backup/compressor/base.rb
Instance Method Summary collapse
-
#compress_with {|@cmd, @ext| ... } ⇒ Object
Yields to the block the compressor command and filename extension.
Methods included from Backup::Config::Helpers
Methods included from Utilities::Helpers
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Backup::Config::Helpers
Instance Method Details
#compress_with {|@cmd, @ext| ... } ⇒ Object
Yields to the block the compressor command and filename extension.
11 12 13 14 |
# File 'lib/backup/compressor/base.rb', line 11 def compress_with log! yield @cmd, @ext end |