[TxMt] Re: Useful ruby commands - anyone interested?

Benjamin Jackson ben at incomumdesign.com
Thu Nov 24 12:12:12 UTC 2005


>> [...] 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).

Yeah, but the script I linked to actually runs the program and gives 
you (almost) real-time debugging while you're editing the file. Do you 
have any good ruby one-liners that you use a lot?
___________________
Ben Jackson
Diretor de Desenvolvimento

ben at incomumdesign.com
http://www.incomumdesign.com




More information about the textmate mailing list