From: Philip Mak Date: 2002-08-27T03:31:56+09:00 Subject: Getting list of classes in a module? How do I get the list of all classes that are defined in a module (from inside a Ruby program)? My current solution is using ObjectSpace.each_object(Class), which gets every class defined in the whole program, but then I have to filter it to get just the classes in a particular module, and this doesn't seem like the right way of doing it.