Class: Formulary::AliasAPILoader Private
- Inherits:
-
FormulaAPILoader
- Object
- FormulaLoader
- FormulaAPILoader
- Formulary::AliasAPILoader
- Defined in:
- formulary.rb
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.
Load aliases from the API.
Instance Attribute Summary
Attributes inherited from FormulaLoader
#alias_path, #name, #path, #tap
Instance Method Summary collapse
-
#initialize(alias_name) ⇒ AliasAPILoader
constructor
private
A new instance of AliasAPILoader.
Methods inherited from FormulaAPILoader
Methods inherited from FormulaLoader
Methods included from Context
current, current=, #debug?, #quiet?, #verbose?, #with_context
Constructor Details
#initialize(alias_name) ⇒ AliasAPILoader
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 a new instance of AliasAPILoader.
694 695 696 697 |
# File 'formulary.rb', line 694 def initialize(alias_name) super Homebrew::API::Formula.all_aliases[alias_name] @alias_path = Formulary.core_alias_path(alias_name).to_s end |