Spec-Zone.ru › Homebrew

Module: OS::Mac::TestBot::ClassMethods Private

Extended by:
T::Helpers
Defined in:
extend/os/mac/test_bot.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.

Instance Method Summary collapse

  • #runner_os_title ⇒ String private

Instance Method Details

#runner_os_title ⇒ 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.

Returns:

  • (String)


13
14
15
16
17
18
# File 'extend/os/mac/test_bot.rb', line 13

def runner_os_title
  title = "macOS #{MacOS.version.pretty_name} (#{MacOS.version})"
  title << " on Apple Silicon" if ::Hardware::CPU.arm?

  title
end

© 2009–present Homebrew contributors
Licensed under the BSD 2-Clause License.
https://docs.brew.sh/rubydoc/OS/Mac/TestBot/ClassMethods.html

Spec-Zone.ru

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