From: Trans Date: 2009-02-16T11:13:09+09:00 Subject: Re: Exercise in Frustration On Feb 15, 2:17 pm, James Coglan wrote: > > Great. However, I also want the end-user of this library to be able > > effect all classes and modules with a single extend (or include) as > > well, if they so choose. Eg. > > >    class Module > >      include MyEnhancement > >    end > > I came up with this a while ago:http://gist.github.com/25104. It's a pretty > big hack but lets you write modules that override the behaviour of classes > they're mixed into. Sort of like a traits system? Thanks James. I'll have a look at this. T.