From: Daniel N Date: 2007-02-20T13:43:17+09:00 Subject: Re: How to find out object type ------=_Part_36066_1141268.1171946594594 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline object.kind_of?( Array ) #=> To test if it is something object.is_a?( Array ) #=> Same object.class #=> Tells you what class the object thinks it is. On 2/20/07, Phy Prabab wrote: > > Hello, > > I am curious, is there a way to find out an object type? > > TIA, > Phy > > > > > > > ____________________________________________________________________________________ > Don't pick lemons. > See all the new 2007 cars at Yahoo! Autos. > http://autos.yahoo.com/new_cars.html ------=_Part_36066_1141268.1171946594594--