examples/testxml.rb in ruby-graphviz-0.8.3 vs examples/testxml.rb in ruby-graphviz-0.9.0

- old
+ new

@@ -2,6 +2,6 @@ $:.unshift( "../lib" ) require 'graphviz/xml' gvxml = GraphViz::XML::new( "test.xml", :text => true, :attrs => true ) -gvxml.output( :output => "png", :file => "test.png", :use => "dot", :path => ARGV[0] ) +gvxml.output( :output => "png", :file => "#{$0}.png", :use => "dot", :path => ARGV[0] )