[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: RDOC: several related modules in several C files

Victor 'Zverok' Shepelev

3/16/2007 3:52:00 PM

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.


1 Answer

???? ??????

3/16/2007 4:00:00 PM

0


> as in my sources there are many other problems for RDoc, like shortcut
> macro

These shortcuts seems to be one of the greatest problem. The only way to
bypass them is to use some sort of C->xml compilers in RDoc (to make it
very complicated), or to create some sort of explicit binding C
functions to ruby methods

--
Posted via http://www.ruby-....