class Hbc::Container::Zip < Hbc::Container::Base
  def self.me?(criteria)
    criteria.file.include? 'compressed-encoding=application/zip;'
  end

  def extract
    @command.run!('/usr/bin/ditto', :args => ['-xk', '--', @path, @cask.staged_path])
  end
end
