weewar.com corner

If Batman was a Ruby hacker ...

Posted by railsbros_dirk
on Saturday, July 19

If Batman was a Ruby hacker he would definitely use this: http://utilitybelt.rubyforge.org/index.html. This is a great collection of some great IRB enhancements. Among others, like UNIX style history and a grep for method names and classes (which I really need a lot) I find this to be the most productive one, at least for me: Edit IRB content in TextMate (or any other editor) and save it back to IRB!

This is really great!

After you closed your editor window and are back to your IRB session and have something more to add you just go back and have all the previous code still there.

For me who works a lot with IRB for prototyping and testing purpose this comes in really handy. It is much easier to work with code that span multiple lines due to this helper script.

Thanks to Giles Bowkett and the other contributers of this fine collection.

See ya!

PS: I put up a little screen cast for demonstration. Enjoy!


Utility Belt Gem Screencast from Dirk Breuer on Vimeo.