| Tools >> Editor |
Using Ruby within TextMate snippets and commands
| Language : | English | Quality : | Average | Has Audio : | true | Source : | Other | Media : | Flash |
|
I didn’t know you could run Ruby within TextMate snippets. As a consequence, a lot of the TextMate bundles I work on either have simplistic Snippets or the advanced code is run via Commands with code pushed into explicit Ruby files in the Support folder.
But sometimes I just want a clever snippet. For example, I want the ‘cla’ snippet to use the current filename to create the default class name instead of the current ‘ClassName’ default. I want default foreign key names to be meaningful. [SUGGEST A ARTICLE] |
Tags: TextMate, Ruby, Screencast, Snippet, Command, [SUGGEST A TAG]
|
||
Other dowloadable format of this video
|
Video in QuickTime format
Resolution : Size : 11 MB |
|
