Exception: Deptree::DuplicateDependencyError

Inherits:
Error
  • Object
show all
Defined in:
lib/deptree/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ DuplicateDependencyError

Returns a new instance of DuplicateDependencyError.



18
19
20
# File 'lib/deptree/errors.rb', line 18

def initialize(name)
  super("Dependency #{name} has already been added.")
end