Class: Backup::Configuration::Compressor::Pbzip2

Inherits:
Base
  • Object
show all
Defined in:
lib/backup/configuration/compressor/pbzip2.rb

Class Attribute Summary collapse

Method Summary

Methods inherited from Base

defaults

Methods included from Helpers

#clear_defaults!, #load_defaults!

Class Attribute Details

.bestObject

Tells Backup::Compressor::Pbzip2 to compress better (-9) which is bzip2 default anyway



12
13
14
# File 'lib/backup/configuration/compressor/pbzip2.rb', line 12

def best
  @best
end

.fastObject

Tells Backup::Compressor::Pbzip2 to compress faster (-1) (but not significantly faster)



17
18
19
# File 'lib/backup/configuration/compressor/pbzip2.rb', line 17

def fast
  @fast
end

.processorsObject

Tells Backup::Compressor::Pbzip2 how many processors use, by default autodetect is used



22
23
24
# File 'lib/backup/configuration/compressor/pbzip2.rb', line 22

def processors
  @processors
end