Module: FormulaUnreadableErrorModule Private
- Included in:
- FormulaUnreadableError, TapFormulaUnreadableError
- Defined in:
- Library/Homebrew/exceptions.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Shared methods for formula unreadable errors.
Instance Attribute Summary collapse
- #formula_error ⇒ Object readonly private
Instance Method Summary collapse
- #to_s ⇒ Object private
Instance Attribute Details
#formula_error ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
154 155 156 |
# File 'Library/Homebrew/exceptions.rb', line 154 def formula_error @formula_error end |
Instance Method Details
#to_s ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
156 157 158 |
# File 'Library/Homebrew/exceptions.rb', line 156 def to_s "#{name}: " + formula_error.to_s end |