On Saturday 26 January 2002 06:12 am, you wrote:
<snip>
> I would like to do something like this :
>
> irb> class Thing
> irb> def oneMethod
> irb> end
> irb> end
>
> then :
>
> irb> Thing.dumpSource("thing.rb")
>
> Wich would produce a text file named thing.rb with the full source code of
> the class Thing
>
> How could one do this, which class/method should I use?

I must still misunderstand.  Your example is static.  I use a text editor to 
write class Thing.  Then thing.rb exists before it's ever executed.  Why 
bother dumping a copy of something that I just read in?

-- 
Quantum Mechanics: The dreams stuff is made of