From: "Mauricio Fernández" Date: 2003-06-18T19:17:55+09:00 Subject: Re: re-open a class --> re-open a method? On Wed, Jun 18, 2003 at 06:32:59PM +0900, you CAN teach an old dog ... wrote: > In exactly the same spirit, wouldn't it make sense to allow some kind > of re-open of a method, rather than only the current :alias mechanism > (which is itself wonderful after some other languages)? The accessible > 'internal' points could include method-entry, method return, method > exception exit. Through these accessible points we could incrementally > and modularly define a method (or, perhaps more importantly, some > cross-cutting aspect of a bunch of methods across a bunch of classes). > > Thoughts? matz is already thinking on that :-) Take a look at http://www.rubyist.net/~matz/?date=20030513#p04 [73196] [73230] -- _ _ | |__ __ _| |_ ___ _ __ ___ __ _ _ __ | '_ \ / _` | __/ __| '_ ` _ \ / _` | '_ \ | |_) | (_| | |_\__ \ | | | | | (_| | | | | |_.__/ \__,_|\__|___/_| |_| |_|\__,_|_| |_| Running Debian GNU/Linux Sid (unstable) batsman dot geo at yahoo dot com Fairlight: udp is the light margarine of tcp/ip transport protocols :) -- Seen on #Linux