Method: Zip::ZipFile#extract

Defined in:
lib/zip/zip.rb

#extract(entry, destPath, &onExistsProc) ⇒ Object

Extracts entry to file destPath.



1473
1474
1475
1476
1477
# File 'lib/zip/zip.rb', line 1473

def extract(entry, destPath, &onExistsProc)
  onExistsProc ||= proc { false }
  foundEntry = get_entry(entry)
  foundEntry.extract(destPath, &onExistsProc)
end