Method: Backup::Compressor::Gzip#level

Defined in:
lib/backup/compressor/gzip.rb

#levelObject

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 6.



18
19
20
# File 'lib/backup/compressor/gzip.rb', line 18

def level
  @level
end