/usr/share/doc/ruby-graphviz/examples/sample47.rb is in ruby-graphviz 1.0.8-2build1.
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 | #!/usr/bin/ruby
$:.unshift( "../lib" )
require 'graphviz/xml'
gvxml = GraphViz::XML::new( File.join( File.dirname(__FILE__), "test.xml" ), :text => true, :attrs => true )
gvxml.graph.output( :png => "#{$0}.png", :use => "dot" )
|