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.


154
155
156
# File 'Library/Homebrew/exceptions.rb', line 154

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.


156
157
158
# File 'Library/Homebrew/exceptions.rb', line 156

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