Exception: TapAlreadyUnshallowError

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ TapAlreadyUnshallowError

Returns a new instance of TapAlreadyUnshallowError



264
265
266
267
268
269
270
# File 'brew/Library/Homebrew/exceptions.rb', line 264

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



262
263
264
# File 'brew/Library/Homebrew/exceptions.rb', line 262

def name
  @name
end