I am interested in finding a way to send ruby commands from a vim buffer to
a running irb session. Johannes Ranke has an example of a perl script that
creates a pipe, allowing the user to send commands to a running R session.
While this is very similar to what I am looking for, and the perl script is
nice, it would be even better if you could have a ruby function in vim that
would open the pipe and manage the communication between the vim session and
the running irb session.
I am a ruby newbie, so if anyone has any suggestion on how to get started on
this please let me know.