From: Joel VanderWerf Date: 2009-07-15T01:42:08+09:00 Subject: Re: Twelve rules of Ruby Rick DeNatale wrote: > On Tue, Jul 14, 2009 at 11:46 AM, David A. Black wrote: >>>> Objects don't "have" methods > First of all, as you just stated, object DO in a sense have methods, > in the same sense I have, say, an iPhone, because I know how to find > it, usually. Yep. You said it better than I was about to (not just this line, but the whole post). I was going to say "people don't 'have' bank accounts; they have the intelligence to perform transactions by visiting a web site and entering a password. As you say, the location of such intelligence is a question that can wait until someone starts poking around in the interpreter. For a beginner, it's more important to have a _model_ of how method lookup works (model in the sense of science, not rails). If the easiest way of stating this model is in terms of what methods an object has (and what class they were acquired from), so be it. -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407