From: ptkwt@...1.aracnet.com (Phil Tomson) Date: 2001-09-16T06:39:07+09:00 Subject: [ruby-talk:21242] Creating a module hierarchy - advice needed. I'm trying to create a library of Win32 functions (most come from C extensions). Initially, I was going to put them all into one big module - but now I'm thinking I should partition this library into various related catagories (similar to the Perl Win32 modules), so that the hierarchy might look like: Win32 Process GUI GuiTest SystemInfo Misc Here's the question: How do I specify a hierarchy like this? I've tried to do something like: module Win32::Process def killProcess end end but 'Win32::Process' gives a parse error. Do I actually have to do something like this in each file that defines one of these modules: module Win32 module Process ... end end Phil