Method: Gem::Molinillo::DependencyGraph::Log#add_edge_no_circular

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

#add_edge_no_circular(graph, origin, destination, requirement) ⇒ Edge

Parameters:

  • graph (Graph)

    the graph to perform the action on

  • origin (Vertex)
  • destination (Vertex)
  • requirement (Object)

    the requirement that this edge represents

Returns:

  • (Edge)

    the added edge



41
42
43
# File 'lib/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/log.rb', line 41

def add_edge_no_circular(graph, origin, destination, requirement)
  push_action(graph, AddEdgeNoCircular.new(origin, destination, requirement))
end