Sha256: a7f990ecab897e7f50acd39bffba6124f182b3b701efbcba200462c2cfbfd0aa
Contents?: true
Size: 418 Bytes
Versions: 2
Compression:
Stored size: 418 Bytes
Contents
# frozen_string_literal: true require 'headdesk/apk' require 'headdesk/ipa' module Headdesk # # analyze an APK/IPA # class Analyze def self.at(path) begin return Headdesk::Apk.new(path).analyze rescue end begin return Headdesk::Ipa.new(path).analyze rescue end throw CliError.new('Path did not contain an unpacked IPA or APK.') end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
headdesk-0.17.0 | lib/headdesk/analyze.rb |
headdesk-0.16.2 | lib/headdesk/analyze.rb |