Sha256: 350df7beaf4dd4b1aa22e4e9c14969909628bcc571436763903fafc0d7136a38
Contents?: true
Size: 342 Bytes
Versions: 32
Compression:
Stored size: 342 Bytes
Contents
#!/usr/bin/ruby -I../lib require 'gratr/import' require 'gratr/dot' module_graph=Digraph.new ObjectSpace.each_object(Module) do |m| m.ancestors.each {|a| module_graph.add_edge!(m,a) if m != a} end gv = module_graph.vertices.select {|v| v.to_s.match(/GRATR/)} module_graph.induced_subgraph(gv).write_to_graphic_file('jpg','module_graph')
Version data entries
32 entries across 32 versions & 5 rubygems