Main Contents

Random cool hack: Make your Ruby scripts work as man pages

October 27, 2011

Via careful use of nroff directives and comments, it’s possible to make a Ruby script that works both as a command line utility you can run, and as a man page. It’s a floor wax and a dessert topping. This is handy, as it means you can distribute both the utility and the documentation in [...]

Filed under: Ruby | Comments (0)