From: Dave Thomas Date: 2003-05-27T22:54:19+09:00 Subject: Re: extending rdoc for custom accessors Joel VanderWerf wrote: >> So, so summarize: if you want your accessors to appear in the standard >> accessors section, it's easy. otherwise it's harder. > > Actually, the caller sees the accessors just like any other accessors, > so the easy approach will work for me. Is there anything I can do? OK - I've added an --accessor option; check out the latest CVS. rdoc --accessor db_opt,option,param fred.rb or rdoc -A db_opt,option,param fred.rb will accept stuff like class Mine db_opt :buffer_size, :pool param :name option :line_size, :protocol and report them alongside normal attributes. You can have multiple --accessor parameters. Cheers Dave