From: Trans Date: 2009-02-16T11:12:03+09:00 Subject: Re: Exercise in Frustration On Feb 15, 10:45 am, Robert Dober wrote: > On Sun, Feb 15, 2009 at 2:43 PM, Trans wrote: > > This is pretty much the simplest I could come up with > > http://pastie.org/389760 > > an interesting pattern indeed. That was fast :-) I ended up doing something similar to this. Though I wanted to use #super were I could so I created two versions of the attr_ overrides, one with #super and one using #alias_method. I also overrode #append_features instead of using #included. You can see it here: http://anise.rubyforge.org/git?p=anise.git;a=blob;f=lib/anise/attribute.rb;h=de5f6e05b0a444ee9de3f4130f6f5573a5f38299;hb=HEAD Thanks Robert, T.