From: Douglas Seifert Date: 2013-07-11T06:54:05+09:00 Subject: Re: execute commands within SMTP email code: send content in variables and not actual variables --047d7b673574dcb20104e12ef029 Content-Type: text/plain; charset=ISO-8859-1 Interpolation is your answer. If #{t} and #{s} worked, then something along similar lines ought to work as well. The only question is what object is the variable ms pointing at? Looks like an open File handle, and since the class File includes the IO module, maybe this will help you: http://ruby-doc.org/core-1.9.3/IO.html Good luck, Doug On Wed, Jul 10, 2013 at 2:19 PM, dJD col wrote: > I was able to print the values of the variables t and s > > Subject t,s > > by using #{t},#{s} > > > I am not able to print the value of ms yet. > > Please let me know if you have ideas. > > -- > Posted via http://www.ruby-forum.com/. > > --047d7b673574dcb20104e12ef029 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Interpolation is your answer. =A0If #{t} and #{s} worked, = then something along similar lines ought to work as well. =A0The only quest= ion is what object is the variable ms pointing at? Looks like an open File = handle, and since the class File includes the IO module, maybe this will he= lp you:

http://ru= by-doc.org/core-1.9.3/IO.html

Good luck,
Doug


On Wed, Jul 10, 2013 at 2:19 PM, dJD col <lists@ruby-forum.com><= /span> wrote:
I was able to print the values of the variables t and s

Subject t,s

by using #{t},#{s}


I am not able to print the value of ms yet.

Please let me know if you have ideas.

--047d7b673574dcb20104e12ef029--