Module: FormulaUnreadableErrorModule Private
- Included in:
- FormulaUnreadableError, TapFormulaUnreadableError
- 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 unreadable errors.
Instance Attribute Summary collapse
-
#formula_error ⇒ Object
readonly
private
Instance Method Summary collapse
-
#to_s ⇒ String
private
Instance Attribute Details
#formula_error ⇒ 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.
198 199 200 |
# File 'exceptions.rb', line 198 def formula_error @formula_error end |
Instance Method Details
#to_s ⇒ String
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.
201 202 203 |
# File 'exceptions.rb', line 201 def to_s "#{name}: " + formula_error.to_s end |