Method: Puppet::Graph::RelationshipGraph#add_vertex
- Defined in:
- lib/puppet/graph/relationship_graph.rb
#add_vertex(vertex, priority = nil) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
36 37 38 39 40 41 42 43 44 |
# File 'lib/puppet/graph/relationship_graph.rb', line 36 def add_vertex(vertex, priority = nil) super(vertex) if priority @prioritizer.record_priority_for(vertex, priority) else @prioritizer.generate_priority_for(vertex) end end |