[TxMt] Useful ruby commands - anyone interested?
Allan Odgaard
throw-away-1 at macromates.com
Thu Nov 24 00:52:05 UTC 2005
On 24/11/2005, at 1:38, Benjamin Jackson wrote:
> [...] Also a command to take the selected text, add ".inspect # =>"
> and push it to the clipboard.
Have a look at Ruby -> Execute Line as Ruby (ctrl-shift E, which is
unscoped, so it works in all contexts).
It will execute the current line or selection via Ruby and insert the
result (either using .to_s or .inspect, depending on the result type).
More information about the textmate
mailing list