From: gabriele renzi Date: 2005-09-15T00:01:33+09:00 Subject: Re: ruby and aop Matthias Georgi ha scritto: > Hi Alexandru! > > I think, aop-like programming is done mostly by redefining methods. > This is somewhat ugly, as you have to alias the old method. you don't have to do that, see the implementation of this from Mauricio Fernandez[1], based on explicitly creating an old Method instance via #method and calling that instead of something like __old_meth. [1] http://thekode.net/ruby/techniques/CapturingMethods.html