This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Draw Ruby universe with gviz(graphviz wrapper in Ruby) | |
# try `gviz build [THIS_FILE]` at terminal | |
classes = ObjectSpace.each_object(Class) | |
.reject { |k| "#{k}".match /Gem|Thor|Gviz/ } | |
global layout:'fdp' | |
nodes style:'filled', colorscheme:'purd6' | |
edges color:'maroon' |