lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph.rb
def detach_vertex_named(name)
      return unless vertex = vertices.delete(name)
      vertex.outgoing_edges.each do |e|
        v = e.destination
        v.incoming_edges.delete(e)
        detach_vertex_named(v.name) unless v.root? || v.predecessors.any?
      end
    end
# Detaches the {#vertex_named} `name` {Vertex} from the graph, recursively
# removing any non-root vertices that were orphaned in the process
# @param [String] name
# @return [void]
Detaches the {#vertex_named} `name` {Vertex} from the graph, recursively
removing any non-root vertices that were orphaned in the process
Detaches the { #vertex_named } ` name ` { Vertex } from the graph recursively removing any non - root vertices that were orphaned in the process
def detach_vertex_named(name)
      return unless vertex = vertices.delete(name)
      vertex.outgoing_edges.each do |e|
        v = e.destination
        v.incoming_edges.delete(e)
        detach_vertex_named(v.name) unless v.root? || v.predecessors.any?
      end
    end
def detach_vertex_named ( name ) return unless vertex = vertices . delete ( name ) vertex . outgoing_edges . each do | e | v = e . destination v . incoming_edges . delete ( e ) detach_vertex_named ( v . name ) unless v . root? || v . predecessors . any? end end
Detaches the {#vertex_named} `name` {Vertex} from the graph, recursively
removing any non-root vertices that were orphaned in the process
Detaches the { #vertex_named } ` name ` { Vertex } from the graph recursively removing any non - root vertices that were orphaned in the process
None
void
name
None