Initializes a new
error with the given circular vertices. @param [Array] nodes the nodes in
the dependency
thatcausedtheerror
# File lib/rubygems/resolver/molinillo/lib/molinillo/errors.rb, line 46
def initialize(nodes)
super "There is a circular dependency between #{nodes.map(&:name).join(' and ')}"
@dependencies = nodes.map(&:payload).to_set
end