From: Rick DeNatale Date: 2006-09-28T11:52:12+09:00 Subject: Re: String starts? and ends? methods On 9/27/06, Michael Glaesemann wrote: > > On Sep 28, 2006, at 9:11 , dblack@wobblini.net wrote: > > > Hi -- > > > > On Thu, 28 Sep 2006, Hal Fulton wrote: > > > >> dblack@wobblini.net wrote: > >>> It's a little inconsistent: > >>> > >>> obj.respond_to? # second person > >>> obj.is_a? # third person > >>> But I think second person is the most common. Or maybe are_a? just > >>> sounded too weird :-) > >> > >> As the other cases are using the infinitive form, > >> the latter would actually be #be_a? :) > > > > I think it's the second person -- at least, I seem to remember Matz > > explaining it that way. So you're asking the object: [do you] > > respond_to?... > > So it should be #are_a?, right? > Nah, is_a? which derives from is you is? or is you ain't I too find that the second, instead of third person form for predicates to we just a tad wierd. But it is what it is. Or maybe that should be (as a predicate). are you what you are? And let me say that Matz' English is much better than my Japanese. -- Rick DeNatale My blog on Ruby http://talklikeaduck.denhaven2.com/