On Tue, Nov 15, 2005 at 06:56:59AM +0900, Robert Evans wrote:
> Hi Ryan,
> 
> Thanks for your help.
> 
> I tried that, and it didn't work. Here is my irb transcript trying  
> that. Is there another way to remove a constant? I thought I had seen  
> one in the Pickaxe book, but maybe I was thinking of the module method.
> 
> irb
> irb(main):001:0> FOO = "my symbol value"
> => "my symbol value"
> irb(main):002:0> remove_const(FOO)
> NoMethodError: undefined method `remove_const' for main:Object
>         from (irb):2
> irb(main):003:0> remove_const(:FOO)

Object.remove_const(:FOO)

-- 
Mauricio Fernandez