Ruby ObjectGraph

Ruby ObjectGraph will output Graphviz dot files of your Ruby objects in memory.
Download

Ruby ObjectGraph Ranking & Summary

Advertisement

  • Rating:
  • License:
  • MIT/X Consortium Lic...
  • Price:
  • FREE
  • Publisher Name:
  • Aaron Patterson
  • Publisher web site:
  • http://rubyforge.org/frs/

Ruby ObjectGraph Tags


Ruby ObjectGraph Description

Ruby ObjectGraph will output Graphviz dot files of your Ruby objects in memory. Ruby ObjectGraph will output Graphviz dot files of your Ruby objects in memory.The project 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://flickr.com/photos/aaronp/tags/graphviz/* http://tenderlovemaking.com/2007/01/13/graphing-objects-in-memory-with-ruby/PROBLEMSThe output graph kind of lies when displaying Hashes. A Hash will point to an Array with a key and value. If the hash contains 7 pairs, it will point to 7 Arrays.SYNOPSYSlist = %w{ hello world how are you? }hash = { :list => list, :string => "tenderlovemaking.com" }puts ObjectGraph.graph(hash)INSTALLsudo gem install ograph


Ruby ObjectGraph Related Software