From: Aleksey V Zapparov Date: 2012-07-09T04:38:29+09:00 Subject: Re: How to Print on a single line --Sig_/am6Y50iLT2P2J9uxnQOvjSr Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Mon, 9 Jul 2012 04:26:15 +0900 Kirk Haines wrote: > String#chomp removes the record separator (newline) at the end of the > string, if there is one. Snap! That's what I forgot about :)) But even strange voice that was telling me "man, `str[0...-1]` looks way too ugly" didn't forced me to recheck manual :)) --=20 Sincerely yours, Aleksey V. Zapparov A.K.A. ixti FSF Member #7118 Mobile Phone: +34 677 990 688 Homepage: http://www.ixti.net JID: zapparov@jabber.ru *Origin: Happy Hacking! --Sig_/am6Y50iLT2P2J9uxnQOvjSr Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQEcBAEBAgAGBQJP+eGwAAoJEGRO9nGLm9Y8xYkIALswPCwub7xXdX/Lk+CqnPmm koToLS2k/qA0NrRSEr3LoOQIMbLS6jyeW/g5BUmedS3TOXlBxRKU0jz3SBLB58Yv KIADwQbiOfw9Cks5M5mmna8JE/R/EEzSH8535BfLyehnt9D0BlPQKn1AOuLaP9f1 wYyHlsW1VmUZ1+Wc6uBT2nkfD7Mvqk8T71g1lGVurWpwXtQUFm0v4Ug+qwr8CwpP FPAyn6dakxG269SiNg/eWoxyXHNsxJ4Sonwd5FqSMV+EGTaXvRjKon2GXSUZG1id MoDfG1pe2+rIQTGp2NmrRjyUtaq7BViZ62ZGVX8ES0QJ8yPgKKCHBA7nif5IgOM= =ex67 -----END PGP SIGNATURE----- --Sig_/am6Y50iLT2P2J9uxnQOvjSr--