From: Daniel Baird Date: 2006-05-04T09:11:04+09:00 Subject: Re: problems ftp'ing with RUBY ------=_Part_8496_23762023.1146701461316 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 5/4/06, Peter Bailey wrote: > > You mean, I shouldn't have it in quotes, right? Or, should I use > (#{indexfile})? I have been told in the past to use that #{ > nomenclature. Now I see why. Thank you! The #{var} syntax is for embedding a variable in a string. str =3D "Hello #{username}, welcome to the Bat Cave." if you're not in a string, don't use #{var}, the unadorned variable name will give you the variable. say_hello_to(username) Cheers ;Daniel -- Daniel Baird http://danielbaird.com (TiddlyW;nks! :: Whiteboard Koala :: Blog :: Things That Suck) ------=_Part_8496_23762023.1146701461316--