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

Instance Method Summary collapse

Instance Attribute Details

#formula_errorObject (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.


138
139
140
# File 'Library/Homebrew/exceptions.rb', line 138

def formula_error
  @formula_error
end

Instance Method Details

#to_sObject

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.


140
141
142
# File 'Library/Homebrew/exceptions.rb', line 140

def to_s
  "#{name}: " + formula_error.to_s
end