Module ZipUtils::NoWrite
In: lib/more/facets/ziputils.rb

NoWrite Version of ZipUtils.

This is the same as passing :noop flag to ZipUtils methods.

Methods

compress   tar_bzip2   tar_gzip   untar_bzip2   untar_gzip   unzip   zip  

Public Instance methods

[Source]

# File lib/more/facets/ziputils.rb, line 219
  def compress(format_extension, folder, file=nil, options={})
    options[:noop] = true
    ZipUtils.tar_gzip(format_extension, folder, file, options)
  end

[Source]

# File lib/more/facets/ziputils.rb, line 234
  def tar_bzip2(folder, file=nil, options={})
    options[:noop] = true
    ZipUtils.untar_bzip2(folder, file, options)
  end

[Source]

# File lib/more/facets/ziputils.rb, line 224
  def tar_gzip(folder, file=nil, options={})
    options[:noop] = true
    ZipUtils.tar_gzip(folder, file, options)
  end

[Source]

# File lib/more/facets/ziputils.rb, line 239
  def untar_bzip2(file, options={})
    options[:noop] = true
    ZipUtils.untar_bzip2(file, options)
  end

[Source]

# File lib/more/facets/ziputils.rb, line 229
  def untar_gzip(file, options={})
    options[:noop] = true
    ZipUtils.untar_gzip(file, options)
  end

[Source]

# File lib/more/facets/ziputils.rb, line 249
  def unzip(file, options={})
    options[:noop] = true
    ZipUtils.unzip(file, options)
  end

[Source]

# File lib/more/facets/ziputils.rb, line 244
  def zip(folder, file=nil, options={})
    options[:noop] = true
    ZipUtils.unzip(folder, file, options)
  end

[Validate]