Re: [BUG] constants parsing

"Austin Ziegler" <[email protected]>
Newsgroups gmane.comp.lang.ruby.documentation
Message-ID <[email protected]>
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 * [email protected] * http://www.halostatue.ca/
               * [email protected] * http://www.halostatue.ca/feed/
               * [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.