From: Kent Dahl Date: 2003-01-13T01:29:27+09:00 Subject: Re: Source code formatter for Ruby? Gavin Sinclair wrote: > > On Sunday, January 12, 2003, 7:51:15 AM, Kent wrote: > > http://www.ruby-lang.org/raa/list.rhtml?name=rb2html > > I'm soon to play with this, but want to call it programmatically, > whereas it's designed exclusively for command-line use, I think. It > won't be much effort to tinker, but I'm wondering if you have done > this already? I tinkered somewhat with it, but mostly for cosmetic reasons. I needed syntax coloured examples in the HTML generated by LinuxDoc, so I used a Makefile which called it on the command-line, made temp files and did lots of automated cut-and-pasting. I didn't look into what was needed to call it programmatically. -- (\[ Kent Dahl ]/)_ _~_ __[ http://www.stud.ntnu.no/~kentda/ ]___/~ ))\_student_/(( \__d L b__/ NTNU - graduate engineering - 5. year ) ( \__\_�|�_/__/ ) _)Industrial economics and technological management( \____/_�_\____/ (____engineering.discipline_=_Computer::Technology___)