Exception: TapUnavailableError

Inherits:
RuntimeError
  • Object
show all
Defined in:
Library/Homebrew/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ TapUnavailableError

Returns a new instance of TapUnavailableError



219
220
221
222
223
224
225
# File 'Library/Homebrew/exceptions.rb', line 219

def initialize(name)
  @name = name

  super <<~EOS
    No available tap #{name}.
  EOS
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name



217
218
219
# File 'Library/Homebrew/exceptions.rb', line 217

def name
  @name
end