From: Wesley J Landaker Date: 2003-12-05T12:47:52+09:00 Subject: Re: Generalized break? --Boundary-02=_m//z/RAP37FJasM Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Description: signed data Content-Disposition: inline On Thursday 04 December 2003 8:32 pm, Ara.T.Howard wrote: > On Fri, 5 Dec 2003, Wesley J Landaker wrote: > > Ooohh, I like that! =3D3D) > > ;-) me too. > > > Not sure how to get around passing __FILE__ in, or having __END__ > > there=3D20 as well... > > well, for __FILE__ you could > > def __TEST__ (file =3D __FILE__) > ... > end > > couldn't you? That doesn't work in this case, because then __FILE__ refers to=20 "test.rb" instead of "demo.rb". There is probably a way to get around=20 that, but I haven't tried real hard.=20 =2D-=20 Wesley J. Landaker - wjl@icecavern.net OpenPGP FP: 4135 2A3B 4726 ACC5 9094 0097 F0A9 8A4C 4CD6 E3D2 --Boundary-02=_m//z/RAP37FJasM Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQA/z//m8KmKTEzW49IRAstmAJ0bY9mNtxHrSK51SypFDsekGaobkwCaApmu W7xmrHBADJWjsy9bf76nAtQ= =V5fk -----END PGP SIGNATURE----- --Boundary-02=_m//z/RAP37FJasM--