Ruby Object Model / Class / Modules .... diagram anywhere?

I was thinking about creating my own diagram in order to better understand how all classes and modules in Ruby are inherited from each other. How it all connects visually. I am sure that there is a good one. I was googled, but was not satisfied with the results. Any suggestions?

+7
source share
4 answers

I am also a visual student and have finished drawing my own “home diagram”:

Ruby Object Model

Hope this helps.

+9
source

One of the best explanations and a diagrammatic description of the ruby ​​object model can be found in this book: Ruby metaprogramming I tried to find the appropriate pages but came up empty

0
source

For a good understanding of how the Ruby object model and metaprogramming work, I highly recommend these ScreenCasts to pragmatic programmer Dave Thomas:

http://pragprog.com/screencasts/v-dtrubyom/the-ruby-object-model-and-metaprogramming

Dave Thomas is shocked by the explanation of the concepts, and the screencasts have good graphics in which they visualize how everything communicates with each other .. these ScreenCasts are straightforward, without distractions - and are worth every penny, err cent!

There is also a book “Ruby Metaprogramming” http://pragprog.com/book/ppmetr/metaprogramming-ruby but, although it covers many concepts, the book is poorly written, and this makes writing style very difficult to remember concepts / or use the book as a reference to search for things later.

0
source

A diagram showing superclass and eigenclass links between Ruby objects (but not module inclusion links) is available at www.atalon.cz .

Since January 11, 2012 there is a diagram containing links to the inclusion of modules.

0
source

All Articles