class Molinillo::DependencyGraph::Vertex

def _recursive_successors(vertices = new_vertex_set)

Returns:
  • (Set) - the vertices of {#graph} where `self` is an

Parameters:
  • vertices (Set) -- the set to add the successors to
def _recursive_successors(vertices = new_vertex_set)
  outgoing_edges.each do |edge|
    vertex = edge.destination
    next unless vertices.add?(vertex)
    vertex._recursive_successors(vertices)
  end
  vertices
end