Ask a Question related to Ruby, Design and Development.
-
Thomas Adam #1
Inheritence Diagram of Ruby classes...
Hello All,
Has anyone got, or know of a diagram that shows how the ruby classes are
ordered in terms of inheritence?
Thanks,
Thomas Adam
=====
Thomas Adam
"The Linux Weekend Mechanic" -- [url]http://linuxgazette.net[/url]
"TAG Editor" -- [url]http://linuxgazette.net[/url]
__________________________________________________ ______________________
Want to chat instantly with your online friends? Get the FREE Yahoo!
Messenger [url]http://mail.messenger.yahoo.co.uk[/url]
Thomas Adam Guest
-
Class::DBI and Ruby ActiveRecord::Associations ER diagram/macros
Hello, I would appreciate Perl developers comments on the "ActiveRecord::Associations ER diagram/macros" Ruby Forum topic and "Ruby on Rails... -
Inheritence
Hi everyone, How can I extend (inherit) multiple classes ??? like eg: class A extends C,D {} -
Ruby classes for MP3 de-/encoding
Hello folks, does anyone know of any Ruby collection of classes / modules for decoding / encoding (maybe liblame bindings?) MP3 data? I... -
Inheritence and Web Services
Hi Folks, Sorry, this is kinda long, but I couldn't find an answer anywhere... Any ideas would be appreciated. I have several web services... -
ER Diagram
Hi, Ok, I have to make all the relation diagram and I dont know how to. My freind told me that there is a way you can import it from your Access... -
Thomas Adam #2
Re: Inheritence Diagram of Ruby classes...
--- Eric Hodel <drbrain@segment7.net> wrote:Eric,> Thomas Adam (thomas_adam16@yahoo.com) wrote:
>> are> > Hello All,
> >
> > Has anyone got, or know of a diagram that shows how the ruby classes>> > 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).
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" -- [url]http://linuxgazette.net[/url]
"TAG Editor" -- [url]http://linuxgazette.net[/url]
__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
[url]http://antispam.yahoo.com/whatsnewfree[/url]
Thomas Adam Guest
-
Zach Dennis #3
Re: Inheritence Diagram of Ruby classes...
Since this thread has came up I've been doing some digging, thanks to Eric
Hodel and Austin for sparking my interest with their attachments and links.
I've been doing some dabbling into the Kernel's public_method and
private_method to determine what belongs to an object.
I found it useful for myself today doing some Tk stuff so I thought I might
pass it along. Here is a quick implementation of it:
require 'tk'
ar = TkRoot.public_methods
ar.each{ |x| puts x }
ar = TkRoot.private_methods
ar.each{ |x| puts x }
Zach
Zach Dennis Guest
-
Dalibor Sramek #4
Re: Inheritence Diagram of Ruby classes...
I made a few graphical charts some time ago. It is not updated for Ruby 1.8 but
you may find it useful:
[url]http://www.insula.cz/dali/material/rubycl/[/url]
Dalibor
--
Dalibor Sramek [url]http://www.insula.cz/dali[/url] | In the eyes of cats,
[email]dalibor.sramek@insula.cz[/email] | all things belong to cats.
Dalibor Sramek Guest



Reply With Quote

