Has anyone set up a2ps to pretty print Ruby? If not, what do you use?
-Ben
Has anyone set up a2ps to pretty print Ruby? If not, what do you use?
-Ben
I use enscript and it's worked fine for me. Not sure about the status
of ruby/enscript, you might need info from the following site (not
mine):
http://neugierig.org/software/ruby/
Cameron
On 10/6/05, Ben <benbelly@gmail.com> wrote:
Has anyone set up a2ps to pretty print Ruby? If not, what do you use?
Ben wrote:
Has anyone set up a2ps to pretty print Ruby? If not, what do you use?
I use Ruby Syntax, the gem.
See it in action at http://flgr.0x42.net/deobfu/ and http://flgr.0x42.net/breakpoint/cyclic-threads.png
Project homepage: http://syntax.rubyforge.org/
Here is an a2ps ruby stylesheet (got it from a Japanese site some time ago and changed it a bit):
http://www.terpnet.nl/ruby.ssh
Put it in your a2ps sheets directory (mine is: /usr/share/a2ps/sheets)
Cheers,
Erik.
Ben wrote:
Has anyone set up a2ps to pretty print Ruby? If not, what do you use?
-Ben
RubyForge uses enscript to colorize the code in the various CVS
repositories, i.e.:
Yours,
tom
On Thu, 2005-10-06 at 21:30 +0900, Ben wrote:
Has anyone set up a2ps to pretty print Ruby? If not, what do you use?
Sweet! Thanks.
-Ben
On 10/6/05, Erik Terpstra <erik@terpnet.nl> wrote:
Here is an a2ps ruby stylesheet (got it from a Japanese site some time ago and changed it a bit):