class Bundler::Molinillo::CircularDependencyError

def initialize(vertices)

Parameters:
  • vertices (Array) -- the vertices in the dependency
def initialize(vertices)
  super "There is a circular dependency between #{vertices.map(&:name).join(' and ')}"
  @dependencies = vertices.map { |vertex| vertex.payload.possibilities.last }.to_set
end