Method: Puppet::Graph::SimpleGraph#vertex?
- Defined in:
- lib/puppet/graph/simple_graph.rb
#vertex?(v) ⇒ Boolean
Test whether a given vertex is in the graph.
290 291 292 |
# File 'lib/puppet/graph/simple_graph.rb', line 290 def vertex?(v) @in_to.include?(v) end |