aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cask/lib/hbc/source/untapped_qualified.rb
blob: 698cc46ce678d9a3be579571227a589096b07bb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
require "hbc/source/tapped_qualified"

module Hbc
  module Source
    class UntappedQualified < TappedQualified
      def self.me?(query)
        return if (tap = tap_for_query(query)).nil?

        tap.install
        tap.installed? && Hbc.path(query).exist?
      end
    end
  end
end