Create big html file/files from ruby src files. I convert these files to epub with calibre and read them on my Sony Reader or iPod.

Usage:

  dir2html /usr/local/lib/ruby/gems/1.8/gems/actionpack-3.0.9

It creates actionpack-3.0.9-*.html file/files in current directory.