Dave Thomas <Dave / pragprog.com> wrote:
> Perhaps I'm just not understanding something here, but how would I 
> distribute variants (such as the kilmer template) with this scheme? It
> looks like I'd have to have an entire new Outputter, and that I might 
> have to duplicate some code.

Inheritance, of course!

class KilmerHTMLOutputter < HTMLOutputter
  ...
end

Which of course reduces the amount of dupicated code you already have
with the templates. :)

-- 
Greg McIntyre ======[ greg / puyo.cjb.net ]===[ http://puyo.cjb.net ]===