class Molinillo::CircularDependencyError
existing {DependencyGraph::Vertex}
{DependencyGraph} that has a {DependencyGraph::Vertex#path_to?} an
@note This exception will be thrown iff a {Vertex} is added to a
An error caused by attempting to fulfil a dependency that was circular
def initialize(nodes)
-
nodes
(Array
) -- the nodes in the dependency
def initialize(nodes) super "There is a circular dependency between #{nodes.map(&:name).join(' and ')}" @dependencies = nodes.map(&:payload).to_set end