Dry-run verions of ZipUtils.
This is the same as passing the :dryrun flag to ZipUtils. Which is also equivalent to passing :noop and :verbose together.
Methods
compress
tar_bzip2
tar_gzip
untar_bzip2
untar_gzip
unzip
zip
Public Instance methods
[ + ]
# File lib/more/facets/ziputils.rb, line 263 def compress(format_extension, folder, file=nil, options={}) options[:dryrun] = true ZipUtils.tar_gzip(format_extension, folder, file, options) end
[ + ]
# File lib/more/facets/ziputils.rb, line 278 def tar_bzip2(folder, file=nil, options={}) options[:dryrun] = true ZipUtils.untar_bzip2(folder, file, options) end
[ + ]
# File lib/more/facets/ziputils.rb, line 268 def tar_gzip(folder, file=nil, options={}) options[:dryrun] = true ZipUtils.tar_gzip(folder, file, options) end
[ + ]
# File lib/more/facets/ziputils.rb, line 283 def untar_bzip2(file, options={}) options[:dryrun] = true ZipUtils.untar_bzip2(file, options) end
[ + ]
# File lib/more/facets/ziputils.rb, line 273 def untar_gzip(file, options={}) options[:dryrun] = true ZipUtils.untar_gzip(file, options) end
[ + ]
# File lib/more/facets/ziputils.rb, line 293 def unzip(file, options={}) options[:dryrun] = true ZipUtils.unzip(file, options) end
[ + ]
# File lib/more/facets/ziputils.rb, line 288 def zip(folder, file=nil, options={}) options[:dryrun] = true ZipUtils.unzip(folder, file, options) end