On Fri, Feb 12, 2010 at 2:03 PM, Matthew Winter <[email protected]>wrote:

> Hi,
>
> I was wondering if anyone knows of a good method of being able to print all
> source code within a Rails project, ideally with a single command.
>
> I have seen many methods of printing Ruby code, but nothing that would
> allow me to point the command at a rails project and for it to automatically
> concatenate all source code (ideally with syntax highlighting) to a single
> output file for printing.
>

Many moons ago, working with languages other than Ruby, I used a2ps for
this:

http://www.gnu.org/software/a2ps/

Apparently someone's created an a2ps style-sheet for Ruby:

http://www.terpnet.nl/ruby.ssh

These days, though, I agree with the chorus.  Save the trees...

Hope that helps,

Geoff.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en.

Reply via email to