From: Daniel Schierbeck Date: 2006-06-14T18:28:45+09:00 Subject: Re: Cut-based AOP Daniel Schierbeck wrote: > def attr_transformer(*attrs, &block) > attrs.each do |attr| > define_aspect("#{attr}=") do |value| > # call the previously defined method, or > # super, if none exist. > previous(value) That should of course be `previous(block.call(value))'... Daniel