Module: Fdfinder
- Defined in:
- lib/fdfinder/zip_file_generator.rb,
lib/fdfinder/engine.rb,
lib/fdfinder/version.rb,
lib/fdfinder/connector.rb
Overview
This is a simple example which uses rubyzip to recursively generate a zip file from the contents of a specified directory. The directory itself is not included in the archive, rather just its contents.
Usage:
directoryToZip = "/tmp/input"
outputFile = "/tmp/out.zip"
zf = ZipFileGenerator.new(directoryToZip, outputFile)
zf.write()
Defined Under Namespace
Classes: Connector, Engine, ZipFileGenerator
Constant Summary collapse
- VERSION =
"1.0.1"