On 10 Oct 2007, at 15:24, Pokkai Dokkai wrote:

> is it possible to convert from a ruby object to Ruby class...
> any idea.....
> --  
> Posted via http://www.ruby-forum.com/.

I'm not sure what you mean, but every Object has a class method which  
gives you it's class.

irb(main):008:0> 1.class
=> Fixnum
irb(main):009:0> 'foo'.class
=> String

Alex Gutteridge

Bioinformatics Center
Kyoto University