/usr/share/doc/ruby-graphviz/examples/sample22.rb is in ruby-graphviz 1.2.3-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 | #!/usr/bin/ruby
$:.unshift( "../lib" );
require "graphviz"
GraphViz::new( "mainmap" ) { |graph|
graph[:URL] = "http://www.research.att.com/base.html"
graph.command( :URL => "http://www.research.att.com/command.html" )
(graph.command << graph._output( :label => "output" ))[:URL] = "colors.html"
}.output( :canon => nil, :cmapx => "#{$0}.html", :png => "#{$0}.png" )
|