From: Eric Hodel Date: 2003-03-16T09:15:33+09:00 Subject: Re: Overloaded operator interprets block as hash --vK3aNhhOnFYnG5nq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Phil Tomson (ptkwt@shell1.aracnet.com) wrote: >=20 > I'm trying to define an operator that takes a block, like: >=20 > a << {puts "Action!"} why not: a << proc { puts "Action!" } --=20 Eric Hodel - drbrain@segment7.net - http://segment7.net All messages signed with fingerprint: FEC2 57F1 D465 EB15 5D6E 7C11 332A 551C 796C 9F04 --vK3aNhhOnFYnG5nq Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+c8IiMypVHHlsnwQRAmEGAJ4gQnHRSJGby1wybROdXQfjtr2KywCg2cdP dcy3tRmNZzr8DpWaK54ajMw= =GvSp -----END PGP SIGNATURE----- --vK3aNhhOnFYnG5nq--