Module: OnSystem::MacOSOnly Private

Included in:
Cask::DSL
Defined in:
extend/on_system.rbi,
extend/on_system.rb

This module is part of a private API. This module may only be used in the Homebrew/brew repository. Third parties should avoid using this module if possible, as it may be removed or changed without warning.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ void

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

This method returns an undefined value.

Parameters:

  • base (Class)


163
164
165
166
# File 'extend/on_system.rb', line 163

def self.included(base)
  OnSystem.setup_arch_methods(base)
  OnSystem.setup_macos_methods(base)
end

Instance Method Details

#on_arch_conditional(arm: nil, intel: nil) ⇒ String?

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Parameters:

  • arm (String, nil) (defaults to: nil)
  • intel (String, nil) (defaults to: nil)

Returns:



5
# File 'extend/on_system.rbi', line 5

def on_arch_conditional(arm: nil, intel: nil); end