From: David Vallner Date: 2006-10-01T02:04:10+09:00 Subject: Re: "1".to_i *2 == 1 && "1".to_i*2 == 2 ? --------------enig9B64AB614D550BEEE3186EF8 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Collins, Justin wrote: > Remember the * in function calls is the unarray operator. Kinda weird i= n this case, though. >=20 Reminds me that for Ruby 2, the splat operator was supposed to be a little more predictable. Anything of that in Ruby 1.9? Can't recall anything on the change sumamry page about that. This sounds like a rather nasty gotcha to the people that are lazy about the one-space-around-operators style convention. David Vallner --------------enig9B64AB614D550BEEE3186EF8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (MingW32) iD8DBQFFHqOMy6MhrS8astoRAmQmAJ9we03KdztkElu9ACXJeRYAwzCZnACfectd VMWMz9eMzVbtSeYAE27uqa4= =1Ps+ -----END PGP SIGNATURE----- --------------enig9B64AB614D550BEEE3186EF8--