From: John-John Tedro Date: 2011-08-13T21:58:45+09:00 Subject: Re: RubyCSS --0016368e35a4fed57204aa629630 Content-Type: text/plain; charset=ISO-8859-1 On Sat, Aug 13, 2011 at 4:45 AM, Intransition wrote: > > > On Aug 12, 3:29 pm, John-John Tedro 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. --0016368e35a4fed57204aa629630--