From: Kassym Dorsel Date: 2011-10-06T04:45:05+09:00 Subject: Re: How to output an instance's type By type you want the variables class ? If so use : puts alpha.class You might also want to look at these two for more information on a variable : puts alpha.methods puts alpha.inspect -- Posted via http://www.ruby-forum.com/.