class Bundler::Molinillo::DependencyGraph

def add_root_vertex(name, payload)

Returns:
  • (Vertex) - the vertex that was added to `self`

Parameters:
  • payload (Object) --
  • name (String) --
def add_root_vertex(name, payload)
  add_vertex(name, payload).tap { |v| root_vertices[name] = v }
end