Class: Excavate::Extractors::XarExtractor

Inherits:
Extractor
  • Object
show all
Defined in:
lib/excavate/extractors/xar_extractor.rb

Instance Method Summary collapse

Methods inherited from Extractor

eager_load_subclasses!, for_magic_type, handles, #initialize, registered_types, registry

Constructor Details

This class inherits a constructor from Excavate::Extractors::Extractor

Instance Method Details

#extract(target) ⇒ Object



10
11
12
13
# File 'lib/excavate/extractors/xar_extractor.rb', line 10

def extract(target)
  Omnizip::Formats::Xar.extract(@archive, target)
  rename_payload(target)
end