Spec-Zone.ru › Homebrew

Module: OnSystem::MacOSOnly Private

Defined in:
on_system.rbi,
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

  • .included(base) ⇒ void private

Instance Method Summary collapse

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

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 (T::Class[T.anything])


176
177
178
179
# File 'on_system.rb', line 176

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:

  • (String, nil)


5
# File 'on_system.rbi', line 5

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

© 2009–present Homebrew contributors
Licensed under the BSD 2-Clause License.
https://docs.brew.sh/rubydoc/OnSystem/MacOSOnly.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API