Exception: TapAlreadyUnshallowError

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ TapAlreadyUnshallowError

Returns a new instance of TapAlreadyUnshallowError



260
261
262
263
264
265
266
# File 'Library/Homebrew/exceptions.rb', line 260

def initialize(name)
  @name = name

  super <<~EOS
    Tap #{name} already a full clone.
  EOS
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name



258
259
260
# File 'Library/Homebrew/exceptions.rb', line 258

def name
  @name
end