By Peter Bell

Method Precedence in Ruby

Nice summary of the order in which Ruby looks for different methods. I can imagine not knowing this could cause a world of problems!

Comments
Part that's hard to follow: "... metaclasses are created along with their corresponding class. The metaclass’ superclass is set to the metaclass of the classes superclass. "

Yeah, its good to know those things. I haven't yet run into a problem, and I couldn't recite the order to you, but it may just be that its in the back of my mind somewhere. =)
# Posted By Sammy Larbi | 6/3/07 1:34 PM
I just ran across the comment from Sammy. I've just posted a clarification at
http://talklikeaduck.denhaven2.com/articles/2007/0...
# Posted By Rick DeNatale | 6/12/07 5:30 PM
Oops, that was a link to the original article, the summary is at
http://talklikeaduck.denhaven2.com/articles/2007/0...
# Posted By Rick DeNatale | 6/12/07 5:31 PM
Oh ... thanks Rick. I understood it, but just the string of words sounds with class made me read it like a poetic rap tune. =)

In any case, I imagine that many people would indeed have a hard time following it if they didn't know already something about which you were talking.

Thanks for the clarification though!
# Posted By Sammy Larbi | 6/12/07 5:53 PM
BlogCFC was created by Raymond Camden. This blog is running version 5.005.