On Mon, Feb 24, 2003 at 11:13:15AM +0900, dblack / candle.superlink.net wrote: > > include is a method on class Module and I believe that Class already > > inherits from Module - I don't think you want Quinn to inherit from > > Module. To get this to work you'd have to make 'quinn_loadModule' a > > class method, like: > > > > class Quinn > > def Quinn.loadModule(modname) > > load "modules/#{modname}.rb" > > include #{modname} > > end > > end Thanks Phil, that worked. > The include #{modname} thing will be read as "include" plus a comment, > though :-) And an eval() statement was necessary as well. Thanks. -- timothy(at)linuxfromscratch.org -*- "Share and Enjoy" || "Go stick your head in a pig" -*-