Sha256: a30a1617ad796f4724d594fc596486aa060cd9fd7696d25a5c0be63c9b74f52f
Contents?: true
Size: 530 Bytes
Versions: 1
Compression:
Stored size: 530 Bytes
Contents
# ZipDir Zip and unzip directories. ## Installation Add this line to your application's Gemfile: ```ruby gem 'zip_dir' ``` And then execute: $ bundle Or install it yourself as: $ gem install zip_dir ## Usage ```ruby # Zip zipper = ZipDir::Zipper.new zip_file = zipper.generate do |z| z.add_path __some_path_to_directory__ z.add_path __another_path_to_directory__ # does a shell "cp -r" operation end zip_file == zipper.file # => true # Unzip unzip_path = ZipDir::Unzipper.new(zip_file.path).unzip_path ```
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
zip_dir-0.1.0 | README.md |