From: elderburn@... Date: 2001-09-16T12:58:25+09:00 Subject: [ruby-talk:21249] Re: Redefining constants On Saturday 15 September 2001 17:59, Johann Hibschman wrote: > >>>>> "ts" == ts writes: > > ts> Well, you're trying to change the class hierarchy. See > ts> [ruby-talk:20766] about this > > ts> http://www.ruby-talk.com/20766 > > Thanks for the reference. So the answer is that I can't? This is > inconvenient for interactive development, but I can work around it. > Why isn't there a way to simply unbind a class name or other > identifier, then redefine it? > > --Johann The answer is you -shouldn't- be able to, per definition of "constant". However, this does not mean you can't isolate "fixed variables" within a class or module or even as a block. Regards, Kent Starr elderburn@mindspring.com