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

#initialize

Constructor Details

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

Instance Method Details

#extract(target) ⇒ Object



6
7
8
9
10
11
# File 'lib/excavate/extractors/xar_extractor.rb', line 6

def extract(target)
  Dir.chdir(target) do
    extract_with_libarchive
    rename_payload(target)
  end
end