Sha256: 486ca6f60a0b7d3129b0779998e1ffd3ed1448b0080c169872e14cad9c13d23b

Contents?: true

Size: 195 Bytes

Versions: 1

Compression:

Stored size: 195 Bytes

Contents

if defined?(ZipDir)
  class ZipDir::Zipper
    def add_and_cleanup_dir(dir)
      return unless dir.valid?

      dir.entry_paths.each { |path| add_path path }
      dir.cleanup
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dir_model-0.1.0 lib/dir_model/core_ext/zip_dir/zipper.rb