Method: Backup::Compressor::Base#compress_with
- Defined in:
- lib/backup/compressor/base.rb
#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 |