diff --git a/Library/Homebrew/extend/os/linux/cask/quarantine.rb b/Library/Homebrew/extend/os/linux/cask/quarantine.rb index 62d981ee3d..0fb015f07e 100644 --- a/Library/Homebrew/extend/os/linux/cask/quarantine.rb +++ b/Library/Homebrew/extend/os/linux/cask/quarantine.rb @@ -10,13 +10,13 @@ module OS requires_ancestor { ::Cask::Quarantine } sig { returns(Symbol) } - def self.check_quarantine_support = :linux + def check_quarantine_support = :linux sig { returns(T::Boolean) } - def self.available? = false + def available? = false end end end end -Cask::Quarantine.prepend(OS::Linux::Cask::Quarantine) +Cask::Quarantine.singleton_class.prepend(OS::Linux::Cask::Quarantine)