From: Trans Date: 2006-11-16T01:10:09+09:00 Subject: Re: Proc as Observer Nobuyoshi Nakada wrote: > 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. (*slaps forehead*) pfff. Of course. It's right there in front of me and I totally spaced it. Sorry. Well very cool Nobu, that's all we need to do selector namespaces. Just need to add an interface for it. Thanks, T.