News for hackers. Stuff that matters.
Re:Understanding the Ruby object model by sleight42 on Tuesday August 09, 2011 @08:02AM (#2863688)
I'm sorry to be critical but this article is a dangerously incomplete treatment.

For instance, methods only exist on classes. And there's no mention of the singleton class whatsoever.

For a more accurate lesson, watch Dave Thomas, author of the "Pickaxe" Programming Ruby book, present on the Ruby Object Model: http://scotland-on-rails.s3.amazonaws.com/2A04_DaveThomas-SO...

Re:Understanding the Ruby object model by skilldrick on Tuesday August 09, 2011 @08:06AM (#2863695)
> Note that this is a basic explanation, and glosses over higher-level concepts like the eigenclass/metaclass (I’ll leave that for a later post).
Re:Understanding the Ruby object model by blaix on Tuesday August 09, 2011 @01:11PM (#2864786)
Glossing over those things misses the entire point. Not worth posting without it. The videos mentioned in the parent comment get it so right. Highly recommended.