Textmate Trick – Execute one liners inline inside Textmate
You want to run some ruby inside the text editor? With Textmate you can,
Simply write your code
Then click on that line and hit SHIFT + CONTROL + E / shift + ctrl + e
Now you have
[8, 5, 1, 6, 3, 7, 2, 4]
You can see the result is appended to the next line. Nice!
In: Uncategorized · Tagged with: execute ruby, Textmate Trick