Class: Hbc::Container::SevenZip

Inherits:
GenericUnar show all
Defined in:
Library/Homebrew/cask/lib/hbc/container/seven_zip.rb

Class Method Summary collapse

Methods inherited from GenericUnar

#extract

Methods inherited from Base

#extract_nested_container, #extract_nested_inside, #initialize, #verbose?

Constructor Details

This class inherits a constructor from Hbc::Container::Base

Class Method Details

.me?(criteria) ⇒ Boolean

Returns:

  • (Boolean)


6
7
8
9
10
# File 'Library/Homebrew/cask/lib/hbc/container/seven_zip.rb', line 6

def self.me?(criteria)
  # TODO: cover self-extracting archives
  criteria.magic_number(/^7z/n) &&
    super
end