I was looking through Avdi Grimm’s GemLove library as an example of a RubyGems plugin
and wanted to print the code. So, I wrote a script to higlight files, which I thought I’d share.
Notice that there is a
gem contents [gem_name] command you can use to output the files included in a gem. Neato.
I may later evolve this into a ‘gem print’ command.
And, as long as you’re here, I have also adapted a general Entity-Relationship Diagram generator that Erik Michaels-Ober wrote.