From: Ed Howland Date: 2005-10-29T02:05:42+09:00 Subject: Re: Cut-based AOP On 10/28/05, Trans wrote: > > IOn this case though Kernel is module, so you can't cut it (cause you > can't sublcass it) But of course you could cut Object or use a module > and preclude: > > module IMHacker > def exec(command, *args) > raise SecurityError "Caught ya, you lazy good-fer-nuthing > low-life" > ... > end > end > Kernel.preclude IMhacker Definately have to find out more about precludes > > Yes, though it doesn't do everything mentioned in the RCR, but it does > the basics: > Great! Is it downloadable? Where? > http://rubyforge.org/frs/?group_id=137 > > > I'd vote for this, but RCRchive won't let me in. > > Thanks. We've got a good favorable margin so it's okay, but I hope you > find out what's wrong. > Thanks, dblack fixed my deficient brain. I strongly advocated, so you are should over the top. Ed