From: Pokkai Dokkai Date: 2007-10-10T19:47:09+09:00 Subject: Re: object to class... Sylvain Joyeux wrote: > On Wednesday 10 October 2007, Pokkai Dokkai wrote: >> is it possible to convert from a ruby object to Ruby class... >> any idea..... > What do you exactly have in mind ? Ruby classes are already Ruby > objects ... so if you need to manipulate classes as objects you already > can > > obj = Class.new > > > > instance = obj.new > > Sylvain source code here --------------------- class Name def initialize end ..... end ----------------------- obj=Name.new now my question is ,how to create above source code ?. -- Posted via http://www.ruby-forum.com/.