Extending SuperRedCloth

Geoffrey Grosenbach boss at topfunky.com
Tue May 8 14:31:23 EDT 2007


On 5/8/07, Stephen Bannasch <stephen.bannasch at gmail.com> wrote:
> You don't need to change the Ragel scanner but copyright is a class method.

Ahh...that makes sense now. In RedCloth most were written as instance methods.

I guess the best approach would be to just re-declare the
SuperRedCloth class and override all the methods I need. It feels a
bit hackish, but works.

Thanks,

Geoffrey Grosenbach
boss at topfunky.com
........................
Blog | http://nubyonrails.com
Podcast | http://podcast.rubyonrails.com
Screencast | http://peepcode.com


More information about the Redcloth-upwards mailing list