Spec-Zone.ru › Homebrew

Module: OS::Mac::Cask::DSL Private

Extended by:
T::Helpers
Included in:
Cask::DSL
Defined in:
extend/os/mac/cask/dsl.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

  • #os_version ⇒ MacOSVersion? private

Instance Method Details

#os_version ⇒ MacOSVersion?

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:

  • (MacOSVersion, nil)


15
16
17
# File 'extend/os/mac/cask/dsl.rb', line 15

def os_version
  MacOS.full_version
end

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

Spec-Zone.ru

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