examples/sample09.rb in ruby-graphviz-0.8.3 vs examples/sample09.rb in ruby-graphviz-0.9.0
- old
+ new
@@ -45,6 +45,6 @@
g.add_edge( b2, a3 )
g.add_edge( a3, a0 )
g.add_edge( a3, endn )
g.add_edge( b3, endn )
-g.output()
+g.output( :file => "#{$0}.png" )