RAA - rtd

rtd / 0.1

Short description: Converts class and module structure of a ruby program to dot
Category: Application/Development
Status: beta
Created: 2005-02-21 10:02:59 GMT
Last update: 2005-02-21 10:02:59 GMT
Owner: Martin Ankerl (Projects of this owner)
Homepage: http://martin.ankerl.com/
Download: http://martin.ankerl.com/files/rtd.rb
License: Ruby's
Dependency:
None
Description:

RubyToDot converts the class and module structure of a ruby program or library into a dot diagram.

Here is a simple example to generate the structure of the set library:

  stats = RubyToDot.new
  stats.hide_current_state  # ignore all loaded classes+modules
  require 'set'             # load new classes
  puts stats.generate       # generate dot output

Use dot to generate an image from the above output, e.g. with

  ruby rtd-test.rb | dot -Tpng >set.png

For more information, visit the website or generate the rdoc documentation.

Edit this project (for project owner)

back to RAA top