Spec-Zone.ru › Homebrew

Module: OS::Linux::Cask::Config::ClassMethods Private

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

Constant Summary collapse

DEFAULT_DIRS =

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

T.let({
  vst_plugindir:  "~/.vst",
  vst3_plugindir: "~/.vst3",
  fontdir:        "#{ENV.fetch("HOMEBREW_XDG_DATA_HOME", "~/.local/share")}/fonts",
  appdir:         "~/.config/apps",
  appimagedir:    "~/Applications",
}.freeze, T::Hash[Symbol, String])

Instance Method Summary collapse

  • #defaults ⇒ Hash{Symbol => LazyObject, String} private

Instance Method Details

#defaults ⇒ Hash{Symbol => LazyObject, 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:

  • (Hash{Symbol => LazyObject, String})


20
21
22
23
24
# File 'extend/os/linux/cask/config.rb', line 20

def defaults
  {
    languages: LazyObject.new { Linux.languages },
  }.merge(DEFAULT_DIRS).freeze
end

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

Spec-Zone.ru

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