Enumerates through the vertices of the graph. @return [Array] The graph’s vertices.
# File lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph.rb, line 15
def each
return vertices.values.each unless block_given?
vertices.values.each { |v| yield v }
end