19 May 2010, 23:57
Generic-user-small

Robert Clayton (2 posts)

Dave, Thank you for you great work. I seem to be stuck on understanding one chart from Lesson 1 (25:05).
I (kind of) understand that Dave is a class object not an instantiated object. But what order of tracing would Dave.dup() take? The two parallel hierarchies confuse me as to what they are representing. Why not a single chain? I keep wanting to see Object (super) above class (sub).

Object  __    class  __
       | super:   |         | super:   |
       | class:   |<-      | class:   |<---
       | ----- |  |      | ----- |    |
       | dup()    |  |      | new()    |    |
       | frozen?()|  |      |          |    |
        __   |       __     |
                     |                      |
  Dave  __   | anon..__   |
       | super:.-|-'      | super:.--|--'
       | class: -|----->| class:     |
       | ----- |         | ------- |
       |          |         | say_hello()|
       | methods..|         |            |
        __           __

Thanks for your time.
Bob

19 May 2010, 23:52
Generic-user-small

Robert Clayton (2 posts)

I hope you recognize this chart it looked great in you editor window before I submitted it. In fact it still looks great when I go to edit it. So, I am not sure how to fix the appearance.

  You must be logged in to comment