| Class | Archive::Compress |
| In: |
lib/archive/compress.rb
|
| Parent: | Object |
| BUFSIZE | = | 32767 | The buffer size for reading content. |
Create a new Compress object. Takes a filename as string, and args as hash.
args is a hash that contains two values, :type and :compression.
If the type :zip is selected, no compression will be used. Additionally, files in the .zip will all be stored as binary files.
The default set of arguments is
{ :type => :tar, :compression => :gzip }