From: Michael Glaesemann Date: 2006-09-28T11:41:17+09:00 Subject: Re: String starts? and ends? methods 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? Michael Glaesemann grzm seespotcode net