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.
672 673 674 675 |
# File 'formulary.rb', line 672 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.
666 667 668 669 |
# File 'formulary.rb', line 666 def self.try_new(_ref, from: nil, warn: false) Formulary.odeprecated "Formulary::FromURILoader.try_new", "Formulary.from_path for internal source loading" nil end |