rdoc and the "--accessor" option
- by Brian Ploetz
rdoc --help says:
--accessor, -A accessorname[,..]
comma separated list of additional class methods
that should be treated like 'attr_reader' and
friends. Option may be repeated. Each accessorname
may have '=text' appended, in which case that text
appears where the r/w/rw appears for normal accessors.
Does anyone have any working examples of doing this (both the accessor
method definition and the rdoc command invocation)? No matter what
combination I try, my accessors will not show up in the RDoc output.
Thanks.