Spec-Zone.ru › Homebrew

Module: OS::Linux::Superenv::ClassMethods Private

Defined in:
extend/os/linux/extend/ENV/super.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

  • #bin ⇒ ::Pathname? private
  • #shims_path ⇒ ::Pathname private

Instance Method Details

#bin ⇒ ::Pathname?

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:

  • (::Pathname, nil)


19
20
21
# File 'extend/os/linux/extend/ENV/super.rb', line 19

def bin
  shims_path.realpath
end

#shims_path ⇒ ::Pathname

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:

  • (::Pathname)


14
15
16
# File 'extend/os/linux/extend/ENV/super.rb', line 14

def shims_path
  HOMEBREW_SHIMS_PATH/"linux/super"
end

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

Spec-Zone.ru

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