Sha256: 9198e7610fcef80f5cde5fc29da59d8e8befbbecb165222bd9209fbcbf54ed71

Contents?: true

Size: 196 Bytes

Versions: 1

Compression:

Stored size: 196 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.2.0 lib/dir_model/core_ext/zip_dir/zipper.rb