From: Austin Ziegler Date: 2005-08-27T22:20:06+09:00 Subject: Re: Unrequiring a module On 8/27/05, Iain Dooley wrote: > rb_require("file.rb"); > > to add a constant (class name) to my namespace in an embedded Ruby > application. If i want to change the implementation details of that > class without restart my application, how can i unrequire and re-require > that file? Strictly speaking, you can't. Well, you can't unrequire. However, since all classes in Ruby are open, you can simply do the C-side equivalent of Kernel.load. -austin -- Austin Ziegler * halostatue@gmail.com * Alternate: austin@halostatue.ca