From: Harry Ohlsen Date: 2002-08-11T10:11:27+09:00 Subject: Re: extend Html4? > That's because cgi.rb does a bunch of dynamic creation of methods. > (Look at #element_init, of which there's one in each of the Html* > modules.) So those methods don't actually exist until the CGI object > is created. Isn't that just a design issue, though? Since Ruby is a totally dynamic language, anything that is fundamental to the use of the module could simply be coded at module-level, and set module-level variables that object instances and module methods use. Mind you, maybe this isn't possible with modules. I do it a lot with classes, but haven't tried it with a module.