Exception: TapUnavailableError

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ TapUnavailableError

Returns a new instance of TapUnavailableError



223
224
225
226
227
228
229
# File 'brew/Library/Homebrew/exceptions.rb', line 223

def initialize(name)
  @name = name

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

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name



221
222
223
# File 'brew/Library/Homebrew/exceptions.rb', line 221

def name
  @name
end