Convert Ruby scripts to HTML and Markdown
first i have to say that my scripts will be a little longer
than ever, to be more verbose and less encrypted, so images 
associated with my posts will be cropped and linked to
full post on Github, post will contain an HTML version 
and code file.
this script will read ruby code and parse it and split it to
set of blocks (code blocks, comments blocks) and then output
HTML format or Markdown Format, make sure your comments are written
in Markdown format.
i combine this script with an older one that convert HTML page to PNG image
and then i use Cairo library to crop it and write the post title, 
you can use it to generate beautiful code documentation with a bit of
enhancement (index page and links back in each page maybe).