On Nov 6, 2004, at 18:35, Gavin Kistner wrote:

> And vice-versa...I frequently do something like:
> 	
> 	# The foo attribute
> 	attr_accessor :foo
> 	def foo=(n) #:nodoc:
> 		#...special setter code necessary
> 	end
>
> Specifically so that RDoc will document 'foo' as a RW attribute. The 
> downside of the above is that ruby complains about the redefinition of 
> #foo= if warnings are enabled.
>
> What I'm saying is that I'd like a way to tell RDoc to document a 
> certain method as an attribute.

try

   rdoc --accessor foo ...

Cheers

Dave