--eLe8FOcWSbbyMVJD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Martin DeMello (martindemello / yahoo.com) wrote: > Rudolf Polzer <denshimeiru-sapmctacher / durchnull.ath.cx> wrote: > > case $lineno > > when 100; puts "Hello World" [snip] > > end > > Best piece of fallthrough abuse since Duff :) Look more closely, it doesn't use fallthrough. Ruby's case is not the same as C's switch. -- Eric Hodel - drbrain / segment7.net - http://segment7.net All messages signed with fingerprint: FEC2 57F1 D465 EB15 5D6E 7C11 332A 551C 796C 9F04 --eLe8FOcWSbbyMVJD Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/MtiHMypVHHlsnwQRAsc8AKCkexPrOwisOqKbIvEAx9q3HYJVtwCeNvN+ hQ6e5PxHiiQ/rAi+Uf7Ipbk/ -----END PGP SIGNATURE----- --eLe8FOcWSbbyMVJD--