Class: Zip::Archive
- Inherits:
-
Object
- Object
- Zip::Archive
- Defined in:
- lib/peregrin/zip_patch.rb
Instance Method Summary (collapse)
Instance Method Details
- (Object) find(path)
7 8 9 |
# File 'lib/peregrin/zip_patch.rb', line 7 def find(path) detect { |f| f.name == path } end |
- (Object) read(path)
3 4 5 |
# File 'lib/peregrin/zip_patch.rb', line 3 def read(path) fopen(path) { |f| f.read } end |