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("XDG_DATA_HOME", "~/.local/share")}/fonts",
  appdir:         "~/.config/apps",
}.freeze, T::Hash[Symbol, String])

Instance Method Summary collapse

Instance Method Details

#defaultsHash{Symbol => 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:



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

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