examples/sample20.rb in ruby-graphviz-0.9.1 vs examples/sample20.rb in ruby-graphviz-0.9.2

- old
+ new

@@ -1,11 +1,11 @@ #!/usr/bin/ruby $:.unshift( "../lib" ); require "graphviz" -GraphViz::options( :output => "png", :use => "dot" ) +GraphViz::options( :use => "dot" ) if ARGV[0] GraphViz::options( :path => ARGV[0] ) end @@ -42,6 +42,6 @@ g.add_edge( g.node7(:f1), g.node1(:f0) ) g.add_edge( g.node7(:f2), g.node8(:f0) ) g.add_edge( g.node10(:f1), g.node11(:f0) ) g.add_edge( g.node10(:f2), g.node12(:f0) ) g.add_edge( g.node11(:f2), g.node1(:f0) ) -}.output( :file => "#{$0}.png" ) +}.output( :png => "#{$0}.png" ) \ No newline at end of file