[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: Inheritence Diagram of Ruby classes...

Thomas Adam

11/6/2003 7:58:00 PM


--- Eric Hodel <drbrain@segment7.net> wrote:
> Thomas Adam (thomas_adam16@yahoo.com) wrote:
>
> > Hello All,
> >
> > Has anyone got, or know of a diagram that shows how the ruby classes
> are
> > ordered in terms of inheritence?
>
> Using ObjectSpace.each_object(Class) and a bit of code (like in the
> attached script), you can generate one for yourself. Note that the
> below does not mention any included modules (an exercise for the
> reader).

Eric,

Thank you ever so much for that, but do you have the script? Only, It
wasn't attached to the e-mail :)

-- Thomas Adam

=====
Thomas Adam

"The Linux Weekend Mechanic" -- http://linuxg...
"TAG Editor" -- http://linuxg...

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/wh...

2 Answers

Austin Ziegler

11/6/2003 8:28:00 PM

0

Thomas:

You may want to consider this:

http://www.rubygarden.org/ruby?ASCIIClassHierarch...

It will generate an arbitrary hierachy.

-austin



Eric Hodel

11/6/2003 9:30:00 PM

0

Thomas Adam (thomas_adam16@yahoo.com) wrote:

> Thank you ever so much for that, but do you have the script? Only, It
> wasn't attached to the e-mail :)

Dang, oops!

Here it is, no really.

--
Eric Hodel - drbrain@segment7.net - http://se...
All messages signed with fingerprint:
FEC2 57F1 D465 EB15 5D6E 7C11 332A 551C 796C 9F04