"Trans" <transfire / gmail.com> writes:

>> I do have one pressing issue though. I came up with two ways to run the
>> code. 1) using eval, and 2) using a pipe.

[snip]

> Is there away to pass the ruby command a __LINE__ offset? Or set it in
> code?

You could #eval the code in the subprocess.  That seems like an easy (if
slightly kludgey) way to get the benefits of both methods.

-Marshall