Jeff Rose | 20 Dec 23:18
Picon
Gravatar

insert result of ruby

Anyone know if there is a way to run a small bit of ruby and insert the
result into the current buffer?

I wanted to do something like this, but get the output into the buffer
rather than the command window:

:ruby require 'date'; puts Date.today

-Jeff

Gmane