Base
Creates a new instance of Backup::Compressor::Lzma
# File lib/backup/compressor/lzma.rb, line 18 def initialize(&block) load_defaults! @best ||= false @fast ||= false instance_eval(&block) if block_given? @cmd = "#{ utility(:lzma) }#{ options }" @ext = '.lzma' end
Yields to the block the compressor command and filename extension.
# File lib/backup/compressor/lzma.rb, line 33 def compress_with Backup::Logger.warn( "[DEPRECATION WARNING]\n" + " Compressor::Lzma is being deprecated as of backup v.3.0.24\n" + " and will soon be removed. Please see the Compressors wiki page at\n" + " https://github.com/meskyanichi/backup/wiki/Compressors" ) super end
Generated with the Darkfish Rdoc Generator 2.