Hi Doug,

> Hi.I'm pretty sure this is possible, but it's years since I read it.
> Can anyone tell me how I scan the Ruby namespace for all defined  
> modules?

Using the useful ObjectSpace module :

   ObjectSpace.each_object( Module ) { |m| p m }

Regards,
Carl.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"NWRUG" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/nwrug-members?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to