Description
In this screencast Dr Nic shows how a simple class snippet can be made smart and use embedded ruby code to derive the class name from the current file name.
[link](http://drnicwilliams.com/2008/06/11/using-ruby-within-textmate-snippets-and-commands/)