Base
Tells Backup::Compressor::Pbzip2 how many processors to use. Autodetects the number of active CPUs by default.
Creates a new instance of Backup::Compressor::Pbzip2
# File lib/backup/compressor/pbzip2.rb, line 23 def initialize(&block) load_defaults! @best ||= false @fast ||= false @processors ||= false instance_eval(&block) if block_given? @cmd = "#{ utility(:pbzip2) }#{ options }" @ext = '.bz2' end
Yields to the block the compressor command and filename extension.
# File lib/backup/compressor/pbzip2.rb, line 38 def compress_with Backup::Logger.warn( "[DEPRECATION WARNING]\n" + " Compressor::Pbzip2 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.