On Mar 15, 2006, at 9:41 PM, Zakaria wrote:

> Hi,
>
> What is the best way/tools to printing ruby code to a piece of paper
> with:
> 1. method index
> 2. line number
> 3. syntax highlight
> ?.
>
> Regards,
>
>
> -- Zakaria
>    z4k4ri4 / gmail.com             Yahoo!: z4k4ri4
>    http://zakaria.is-a-geek.org
>    http://pemula.linux.or.id
>    Mau invite gmail? japri aja.
>

This is just off the top of my head, so it may not suit your needs  
but here goes:  If you happen to use Vim, you could convert the ruby  
file to an html file with the :TOhtml command, then open the html  
file in a web browser and print it.  I'm sure that other text editors  
can do something like this as well.

-Ryan