From: Edward Faulkner Date: 2006-01-25T05:13:23+09:00 Subject: Re: it is possible to unload a class? --t0UkRYy7tHLRMCai Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 25, 2006 at 03:58:12AM +0900, sayoyo@yahoo.com wrote: > we can load a library, a class or a gem with the funtionc "require". If > I want to unload a library, a class or a gem, how can I do this, (or it > is possible?) In general it's not possible. =20 I suppose you could try to hunt down and rebind every reference to the classes/modules in the library, eventually allowing them to be garabge collected. But I can't think of a practical reason to do that. --t0UkRYy7tHLRMCai Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFD1opAnhUz11p9MSARAkyeAKDSPS7oMmQuky/p9l3U8pNG21N2qwCgrcnp eLWQ9EMWQ+RzdScCZ9SpLJQ= =tmJb -----END PGP SIGNATURE----- --t0UkRYy7tHLRMCai--