Method: Zip::ZipFile#extract
- Defined in:
- lib/pik/contrib/zip/zip.rb
#extract(entry, destPath, &onExistsProc) ⇒ Object
Extracts entry to file destPath.
1466 1467 1468 1469 1470 |
# File 'lib/pik/contrib/zip/zip.rb', line 1466 def extract(entry, destPath, &onExistsProc) onExistsProc ||= proc { false } foundEntry = get_entry(entry) foundEntry.extract(destPath, &onExistsProc) end |