From: KONTRA Gergely Date: 2004-01-19T18:30:12+09:00 Subject: Re: List of defined classes/modules On 0119, Mark J. Reed wrote: > On Mon, Jan 19, 2004 at 04:41:57AM +0000, GGarramuno wrote: > > >How can I programmatically determine what classes and modules > > >are defined? > > > > Look up ObjectSpace in the Pickaxe book. > > Ah, thank you very much! > > Odd that it doesn't include Enumerable, though, with :each aliased to > :each_object . . . Enumerable is not a class, but a module. Read the Pickaxe book! Gergo -- +-[ Kontra, Gergely PhD student Room IB113 ]---------+ | http://www.mcl.hu/~kgergely "Olyan langesz vagyok, hogy | | Mobil:(+36 20) 356 9656 ICQ: 175564914 poroltoval kellene jarnom" | +-- Magyar php mirror es magyar php dokumentacio: http://hu.php.net --+