From: "Shot (Piotr Szotkowski)" Date: 2008-06-30T00:12:39+09:00 Subject: Re: Is it ellegant to use a global variable to store a Logger object? --wac7ysb48OaltWcw Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable ara.t.howard: > ruby classes are evaluated top down at load time so, to > achieve the effect of init you just need to delete some code =E2=80=A6 > and the 'init' code is called at load time. Ah, so perfect! Thanks a lot! -- Shot --=20 Boot XP under Parallels on the Mac and it says, "Your computer may be at risk." No shit. -- Michael Feathers --wac7ysb48OaltWcw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFIZ6iDi/mCfdEo8UoRAt2wAJ45A1eGw+sD4D98lyKzuZoTDWj92ACg0HNS Xe3NgLAJeHKcMycRHkdb7T0= =qEvh -----END PGP SIGNATURE----- --wac7ysb48OaltWcw--