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