Inheritence Diagram of Ruby classes...

Ask a Question related to Ruby, Design and Development.

  1. #1

    Default 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

  2. Similar Questions and Discussions

    1. 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...
    2. Inheritence
      Hi everyone, How can I extend (inherit) multiple classes ??? like eg: class A extends C,D {}
    3. 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...
    4. 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...
    5. 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...
  3. #2

    Default Re: Inheritence Diagram of Ruby classes...


    --- 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" -- [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

  4. #3

    Default 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

  5. #4

    Default 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

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139