GEdit plugin for ruby code formatting

I use GEdit to write rails programs when Iā€™m at home (when not at home I use GVim because it is easy to take it on my pendrive) :smiley:
But I missed a shortcut for source code formatting, so I created this plugin:
http://www.urubatan.info/2008/05/gedit_plugin_formatting_ruby_code/

I hope it can be useful for others too :smiley:

now I wish I just knew how to do 'format this ruby code' in TextMate :slight_smile:
-R