Class: PaperclipArchiveProcessor::Extractor::Zip
- Inherits:
-
Object
- Object
- PaperclipArchiveProcessor::Extractor::Zip
- Defined in:
- lib/paperclip_archive_processor/extractor.rb
Class Method Summary collapse
Class Method Details
.extract(file, destination) ⇒ Object
17 18 19 20 21 |
# File 'lib/paperclip_archive_processor/extractor.rb', line 17 def self.extract(file, destination) PaperclipArchiveProcessor::ZipUtil.unpack(file, destination).map do |entry| entry.name end end |