Class: Backup::Configuration::Compressor::Pbzip2
- Defined in:
- lib/backup/configuration/compressor/pbzip2.rb
Class Attribute Summary collapse
-
.best ⇒ Object
Tells Backup::Compressor::Pbzip2 to compress better (-9) which is bzip2 default anyway.
-
.fast ⇒ Object
Tells Backup::Compressor::Pbzip2 to compress faster (-1) (but not significantly faster).
-
.processors ⇒ Object
Tells Backup::Compressor::Pbzip2 how many processors use, by default autodetect is used.
Method Summary
Methods inherited from Base
Methods included from Helpers
#clear_defaults!, #load_defaults!
Class Attribute Details
.best ⇒ Object
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 |
.fast ⇒ Object
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 |
.processors ⇒ Object
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 |