Method: Gem::Molinillo::DependencyGraph::Vertex#successors

Defined in:
lib/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/vertex.rb

#successorsArray<Vertex>

Returns the vertices of #graph that have an edge with ‘self` as their Edge#origin.

Returns:

  • (Array<Vertex>)

    the vertices of #graph that have an edge with ‘self` as their Edge#origin



75
76
77
# File 'lib/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/vertex.rb', line 75

def successors
  outgoing_edges.map(&:destination)
end