From: list-bounce / example.com [mailto:list-bounce / example.com] On Behalf Of Max Lapshin Sent: Friday, March 16, 2007 9:10 AM > >> The problem with such organization: RDoc says "Enclosing class/module >> 'rb_mHtmr' for module Constants not known". > >I've done the following with my extensions: >while creating documentation, I've concatenated all data in one file and >rdoc is parsing one file. > I've eventually found another solution: have added to each file some additional definitions to make RDoc happy, and make them "invsible" to compiler with #ifdef SOME_STRANGE_SYMBOL/#endif It works. (BTW, the solution to join all files to one can't work for me in any case, as in my sources there are many other problems for RDoc, like shortcut macro for defining ruby methods, additional namespaces and so on). V.