From: Geoff Stanley Date: 2006-05-07T04:44:00+09:00 Subject: Re: Extending Methods Pit Capitain wrote: > Geoff, just remove the constant before you overwrite it: > > Object.instance_eval { remove_const :Foo } > > Regards, > Pit This works nicely. Thanks! A small note, for the record. The class that has the method that I want to extend (corresponds to Foo in this example) actually lives within an IRC module within my program. Thus, the code I'm using looks like: IRC.instance_eval { remove_const :Channel } IRC::Channel = ChannelPlugin Thanks once again! -- Posted via http://www.ruby-forum.com/.