From: Olivier CARRERE Date: 2002-01-26T21:12:57+09:00 Subject: Re: Sourcecode dump? "Albert L. Wagner" a �crit dans le message de news: 3C517BF7.EBD3C1D5@uark.edu... > What exactly are you trying to do? There are a multitude of ways > in Ruby to dynamically create classes and methods. Ok, it seems that I wasn't able to express my wish well. 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?