Is there some simple way to pretty-print Ruby source code
on the windows platform?
I have cygwin so I guess I can find some sources for enscript
or somesuch and compile them (If so is there some ruby-specific
enscript files around, the RAA link seems does not work anymore).
But I’d rather have a simpler solution.
How do you pretty-print your Ruby sources on the windows platform?
I haven’t yet needed to pretty-print Ruby source, but I’d do it the
way that I do everything I need to pretty-print. (It’s unfortunately
a very manual process, though.)
I load the file into VIM.
VIM does syntax highlighting for me (I also use line numbering,
so VIM automatically provides line numbers, too.)
I do Syntax|Convert to HTML
I save the HTML file and load it in a web browser.
I print the resulting web page.
-austin
– Austin Ziegler, austin@halostatue.ca on 2002.11.01 at 09.06.08
···
On Fri, 1 Nov 2002 22:36:19 +0900, coma_killen@fastmail.fm wrote:
Hi,
Is there some simple way to pretty-print Ruby source code on the
windows platform?
I have cygwin so I guess I can find some sources for enscript or
somesuch and compile them (If so is there some ruby-specific
enscript files around, the RAA link seems does not work anymore).
But I’d rather have a simpler solution.
How do you pretty-print your Ruby sources on the windows platform?
I use Mike Wilson’s Ruby/enscript on Linux. If you have Cygwin it should work
for you. It appears that although there is an entry in RAA, there is no
download link. Mike says to email him with your request: wmwilson01@hotmail.com
···
On Friday 01 November 2002 7:36 am, coma_killen@fastmail.fm wrote:
Hi,
Is there some simple way to pretty-print Ruby source code
on the windows platform?
I have cygwin so I guess I can find some sources for enscript
or somesuch and compile them (If so is there some ruby-specific
enscript files around, the RAA link seems does not work anymore).
But I’d rather have a simpler solution.
How do you pretty-print your Ruby sources on the windows platform?
Regards,
Karsten
–
“I invented the term Object-Oriented, and I can
tell you I did not have C++ in mind.”
-Alan Kay