From: Phillip Gawlowski Date: 2008-05-09T00:51:13+09:00 Subject: Re: Why can't I redefine "<<" method to allow two parameters -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 David A. Black wrote: |> ruby -e 'p [1,2,3] << 4 << 5' |> #=> [1, 2, 3, 4, 5] | | What do you guys have against #push? :-) Nothing that works. ;P Seriously, though: I prefer it. It makes it explicit what I'm doing. No confusion possible with, say, a HERE doc (sp?), or a bitshift operator. - -- Phillip Gawlowski Twitter: twitter.com/cynicalryan Blog: http://justarubyist.blogspot.com ~ - You know you've been hacking too long when... ...you almost get hit by a bus that pulled away from the stop without looking and you say: PANIC: bus error -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkgjIWgACgkQbtAgaoJTgL8LNwCglHoCwu4F0n7zBSfKSQ+HySkm 9KEAnRRD2lzMy500iinYqwi+yPTqWMYj =TxDg -----END PGP SIGNATURE-----