ograph version 0.1.0 has been released!
http://seattlerb.rubyforge.org/
ObjectGraph will output Graphviz dot files of your objects in memory.
It will
ferret out your instance variables and enumerate over your enumerables
to
give you a graph of your object and its relationships.
For sample output and more sample code see:
http://tenderlovemaking.com/2007/01/13/graphing-objects-in-memory-with-ruby/
Changes:
== 0.1.0
Tons of changes thanks to Eric H.!
-
ObjectGraph is now an instance so you can add more stuff to it
-
Key Value pairs in Hashes are now listed in the hash box
-
String values are displayed
-
ObjectGraph knows how to handle ActiveRecord objects
-
Labels are now ObjectID-ClassName
-
Empty arrays or hashes will say that they are empty
-
Much much more!