From: Simon Strandgaard <0bz63fz3m1qt3001@...> Date: 2003-06-24T01:18:56+09:00 Subject: Re: including modules => installing modules On Tue, 24 Jun 2003 02:07:50 +0900, ts wrote: >>>>>> "S" == Simon Strandgaard <0bz63fz3m1qt3001@sneakemail.com> writes: > > S> I guess its possible to make an install method, which creates > S> the necessary aliases and then extends the specified class. > [snip] > def self.append_features(klass) > super > klass.instance_eval do > alias_method :old_push, :push > alias_method :push, :new_push > end > end [snip] Wow, this is even nicer. I wasn't aware of 'append_features'. Thanks Guy ;-) -- Simon Strandgaard