method

add_vertex

ruby latest stable - Class: Bundler::Molinillo::DependencyGraph

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

add_vertex(name, payload, root = false)
public

Adds a vertex with the given name, or updates the existing one. @param [String] name @param [Object] payload @return [Vertex] the vertex that was added to `self`