Class: Warbler::ZipSupport
- Inherits:
-
Object
- Object
- Warbler::ZipSupport
- Defined in:
- lib/warbler/zip_support.rb
Class Method Summary collapse
Class Method Details
.create(filename, &blk) ⇒ Object
5 6 7 |
# File 'lib/warbler/zip_support.rb', line 5 def self.create(filename, &blk) Zip::File.open(filename, Zip::File::CREATE, &blk) end |
.open(filename, &blk) ⇒ Object
9 10 11 |
# File 'lib/warbler/zip_support.rb', line 9 def self.open(filename, &blk) Zip::File.open(filename, &blk) end |