Exception: Deptree::DuplicateActionError

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

Instance Method Summary collapse

Constructor Details

#initialize(dependency, action) ⇒ DuplicateActionError

Returns a new instance of DuplicateActionError.



12
13
14
# File 'lib/deptree/errors.rb', line 12

def initialize(dependency, action)
  super("Dependency #{dependency} already contains the definition of action #{action}")
end