24 lines
433 B
Ruby
24 lines
433 B
Ruby
![]() |
# typed: strict
|
||
|
# frozen_string_literal: true
|
||
|
|
||
|
module OS
|
||
|
module Linux
|
||
|
module Cask
|
||
|
module Installer
|
||
|
private
|
||
|
|
||
|
extend T::Helpers
|
||
|
|
||
|
requires_ancestor { ::Cask::Installer }
|
||
|
|
||
|
sig { void }
|
||
|
def check_stanza_os_requirements
|
||
|
raise ::Cask::CaskError, "macOS is required for this software."
|
||
|
end
|
||
|
end
|
||
|
end
|
||
|
end
|
||
|
end
|
||
|
|
||
|
Cask::Installer.prepend(OS::Linux::Cask::Installer)
|