Method: Puppet::SimpleGraph#dotty
- Defined in:
- lib/vendor/puppet/simple_graph.rb
#dotty(params = {}, dotfile = 'graph.dot') ⇒ Object
Call dotty for the graph which is written to the file ‘graph.dot’ in the # current directory.
458 459 460 461 |
# File 'lib/vendor/puppet/simple_graph.rb', line 458 def dotty (params = {}, dotfile = 'graph.dot') File.open(dotfile, 'w') {|f| f << to_dot(params) } system('dotty', dotfile) end |