On 8/27/05, Iain Dooley <idoo4002 / mail.usyd.edu.au> 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