Module: FormulaClassUnavailableErrorModule Private
- Extended by:
- T::Sig
- Included in:
- FormulaClassUnavailableError, TapFormulaClassUnavailableError
- Defined in:
- exceptions.rb
Overview
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.
Shared methods for formula class errors.
Instance Attribute Summary collapse
-
#class_list ⇒ Object
readonly
private
-
#class_name ⇒ Object
readonly
private
-
#path ⇒ Object
readonly
private
Instance Method Summary collapse
-
#to_s ⇒ Object
private
Instance Attribute Details
#class_list ⇒ Object (readonly)
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.
152 153 154 |
# File 'exceptions.rb', line 152 def class_list @class_list end |
#class_name ⇒ Object (readonly)
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.
152 153 154 |
# File 'exceptions.rb', line 152 def class_name @class_name end |
#path ⇒ Object (readonly)
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.
152 153 154 |
# File 'exceptions.rb', line 152 def path @path end |
Instance Method Details
#to_s ⇒ Object
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.
154 155 156 157 158 159 |
# File 'exceptions.rb', line 154 def to_s s = super s += "\nIn formula file: #{path}" s += "\nExpected to find class #{class_name}, but #{class_list_s}." s end |