mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
25 lines
500 B
Ruby
25 lines
500 B
Ruby
# typed: strict
|
|
# frozen_string_literal: true
|
|
|
|
module OS
|
|
module Linux
|
|
module Cask
|
|
module Quarantine
|
|
module ClassMethods
|
|
extend T::Helpers
|
|
|
|
requires_ancestor { ::Cask::Quarantine }
|
|
|
|
sig { returns(Symbol) }
|
|
def check_quarantine_support = :linux
|
|
|
|
sig { returns(T::Boolean) }
|
|
def available? = false
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
|
|
Cask::Quarantine.singleton_class.prepend(OS::Linux::Cask::Quarantine::ClassMethods)
|