From: Michael Neumann Date: 2001-07-22T18:44:23+09:00 Subject: [ruby-talk:18282] Re: Re-loading a modified class definition On Sun, Jul 22, 2001 at 02:21:20PM +0900, HarryO wrote: > Never mind. I took a guess that there might be a special variable that > tracks what files have been loaded. There is; it's $". > > So, by deleting the particular file from $", I was able to force Ruby to > re-load the file and everything worked just fine. > > What's even nicer is that the objects that were created maintained their > definitions even after re-loading. Only new objects created had the new > definition, which is how I'd like it to be. Try load instead of require! This will reload a file. Regards, Michael -- Michael Neumann *** eMail uu9r@rz.uni-karlsruhe.de