From: botp Date: 2013-01-21T19:13:26+09:00 Subject: Re: question about string concatenation --047d7bdc06f01d05dd04d3c9b60b Content-Type: text/plain; charset=UTF-8 On Mon, Jan 21, 2013 at 6:01 PM, Robert Klemme wrote: > But the point of string interpolation is that the expression does > _not_ need to return a String because #to_s is applied automatically. > oops, mea culpa =) should be any anyexpression then, eg "[" "#{anyexpression}" "]" best regards -botp --047d7bdc06f01d05dd04d3c9b60b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

On Mon, Jan 21, 2013 at 6:01 PM, Robert = Klemme <shortcutter@googlemail.com> wrote:
But the point of string interpolati= on is that the expression does
_not_ need to return a String because #to_s is applied automatically.

oops, mea culpa =3D)
s= hould be any anyexpression then, eg
"[" "#{anyexpr= ession}" "]"

best regards -botp


--047d7bdc06f01d05dd04d3c9b60b--