From: Nobuyoshi Nakada Date: 2006-11-15T23:51:16+09:00 Subject: Re: Proc as Observer Hi, At Wed, 15 Nov 2006 21:50:04 +0900, Trans wrote in [ruby-talk:225115]: > Oh, there was one more thing I got confused about last night (sorry, it > was late). Actually, the code I wrote for NilClass used delegation and > #method_missing rather than an extension. This allowed me to turn the > behavior off on the fly. And that's what I was referring to when I > spoke of safe core extensions. But we can't do that using extending > modules :-( Oh, only if we could #unextend. Indeed, you can just do remove_method. -- Nobu Nakada