On Sat, Aug 13, 2011 at 4:45 AM, Intransition <transfire / gmail.com> wrote:

>
>
> On Aug 12, 3:29 pm, John-John Tedro <johnjohn.te... / gmail.com> wrote:
> > Hello List!
> >
> > I've been hacking at an interesting experiment using mxied in class
> > functions to build and generate css.
> >
> > The result is RubyCSS, which takes something like the following and turns
> it
> > into compact CSS.
> >
> > require 'rubycss'
> >
> > class Test
> >   include RubyCSS::StyleSheet
>
> Any reason you did not make this a base class rather than a mixin?
> Seems like a base class would be a better fit.
>
> > I hope you find it useful!
>
> Could be very.
>
>
I was messing around with a base class initially, but then I also wanted to
be able to mix in some functionality into modules and wanted both cases to
use similar methods.

But you are right, using a base class would be a bit more straight forward
implementation wise for this case.