Method: Backup::Compressor::Bzip2#level
- Defined in:
- lib/backup/compressor/bzip2.rb
#level ⇒ Object
Specify the level of compression to use.
Values should be a single digit from 1 to 9. Note that setting the level to either extreme may or may not give the desired result. Be sure to check the documentation for the compressor being used.
The default ‘level` is 9.
16 17 18 |
# File 'lib/backup/compressor/bzip2.rb', line 16 def level @level end |