Class: Warbler::ZipSupportRubyZip1_0

Inherits:
Object
  • Object
show all
Defined in:
lib/warbler/zip_support.rb

Class Method Summary collapse

Class Method Details

.create(filename, &blk) ⇒ Object


13
14
15
# File 'lib/warbler/zip_support.rb', line 13

def self.create(filename, &blk)
  Zip::File.open(filename, Zip::File::CREATE, &blk)
end

.open(filename, &blk) ⇒ Object


17
18
19
# File 'lib/warbler/zip_support.rb', line 17

def self.open(filename, &blk)
  Zip::File.open(filename, &blk)
end