From: Isaac Sanders Date: 2011-10-06T04:45:23+09:00 Subject: Re: How to output an instance's type --000e0cd4d7c80ab9f604ae92728b Content-Type: text/plain; charset=ISO-8859-1 Object#class() is the method you are looking for. On Wed, Oct 5, 2011 at 3:40 PM, Viaduct Productions < lists@viaduct-productions.com> wrote: > Hiya folks. > > How do I output the type of a variable? > > alpha = {"one", 1, "two", 2} > puts alpha.type # this is what I am trying to do > > > Cheers > _____________ > Rich in Toronto > > > -- Sincerely, Isaac Sanders Section C-4B Vice Chief, Order of the Arrow Vice Chief of Administration, Tecumseh #65 Eagle Scout --000e0cd4d7c80ab9f604ae92728b--