Class: Formulary::FromURILoader Private
Overview
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.
Deprecated entry points. They never discover or evaluate source files.
Class Method Summary collapse
Instance Method Summary collapse
- #initialize(url, from: nil) ⇒ void constructor private
Constructor Details
#initialize(url, from: 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.
845 846 847 848 |
# File 'formulary.rb', line 845 def initialize(url, from: nil) Formulary.odeprecated "Formulary::FromURILoader.new", "Formulary.from_path for internal source loading" raise FormulaUnavailableError, url 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.
839 840 841 842 |
# File 'formulary.rb', line 839 def self.try_new(_ref, from: nil, warn: false) Formulary.odeprecated "Formulary::FromURILoader.try_new", "Formulary.from_path for internal source loading" nil end |