Provides methods to compress the contents of the folder.
Instance methods
to_zip_file(io :
IO, root :
String |
Nil = nil) :
Nil Writes the compressed contents of the folder to io.
SourceReturns a temporary file with the compressed contents of the folder.
Sourceto_zip_file(root :
String |
Nil = nil, &) :
Nil Yields a temporary file with the compressed contents of the folder.
NOTE: the temporary file will be deleted after the block returns.
Source