From: Eric Hodel Date: 2003-01-20T07:34:43+09:00 Subject: Re: String literals --pGYtDnN23/Duo+Aj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Radek Hnilica (Radek@Hnilica.CZ) wrote: > Hello, >=20 > I'm not very experienced in ruby, and can't found how to write long > multiline string literals without variable expanding. I know that I > can use: >=20 > "literal" > 'literal' > %Q{literal} > %q{litaral} > var =3D < ... > EOF >=20 > but the last one, multiline, is there only in "" (expanding) variant. > Is there unexpanding ('') variant of the multiline string literal. Don't forget that with %Q and %q you can use any non-alphanum char as the s= tart-end delimiter %^_^ # =3D> "_" --=20 Eric Hodel - drbrain@segment7.net - http://segment7.net All messages signed with fingerprint: FEC2 57F1 D465 EB15 5D6E 7C11 332A 551C 796C 9F04 --pGYtDnN23/Duo+Aj Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (FreeBSD) iD8DBQE+KygBMypVHHlsnwQRAuDyAJ9DhslnU/nRWCSzbkEbutmCMN34lgCfWyNG I5qLwkSMSw44F6CYo1LiYz4= =YX+9 -----END PGP SIGNATURE----- --pGYtDnN23/Duo+Aj--