Download Firefox: WindowsMac OS X
logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: [BUG] constants parsing: msg#00002

Subject: Re: [BUG] constants parsing
Speaking of constant parsing, is it possible to give rdoc a value to
use instead of the literal value? As an example, in PDF::Writer I
document the PAGE_SIZES constant reasonably well and I don't need the
value displayed; it would be good if I could prevent that because it
ends up making the resulting HTML look pretty bad because the value is
pretty large.

I know that I could do a workaround (PAGE_SIZES = {} ;
PAGE_SIZES.replace({ ... })) but that feels as bad as the workaround
that I'm having to do because I can't tell rdoc that "def foo=(x)" is
actually supposed to be an attribute. (attr_accessor :foo;
remove_method :foo=; def foo=(x); ...; end).

-austin
--
Austin Ziegler * halostatue@xxxxxxxxx * http://www.halostatue.ca/
              * austin@xxxxxxxxxxxxx * http://www.halostatue.ca/feed/
              * austin@xxxxxxxxxxx




<Prev in Thread] Current Thread [Next in Thread>