Class: Formulary::FromCacheLoader Private
This class is part of a private API. This class may only be used in the Homebrew/brew repository. Third parties should avoid using this class if possible, as it may be removed or changed without warning.
Class Method Summary collapse
Instance Method Summary collapse
- #initialize(name, _path, alias_path: nil, tap: nil) ⇒ void constructor private
Constructor Details
#initialize(name, _path, alias_path: nil, tap: nil) ⇒ void
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.
861 862 863 864 |
# File 'formulary.rb', line 861 def initialize(name, _path, alias_path: nil, tap: nil) Formulary.odeprecated "Formulary::FromCacheLoader.new", "Formulary.from_path for internal source loading" raise FormulaUnavailableError, name end |
Class Method Details
.try_new(_ref, from: nil, warn: false) ⇒ nil
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.
853 854 855 856 |
# File 'formulary.rb', line 853 def self.try_new(_ref, from: nil, warn: false) Formulary.odeprecated "Formulary::FromCacheLoader.try_new", "Formulary.from_path for internal source loading" nil end |