definition()
Returns attr_reader, attr_writer or attr_accessor as appropriate.
# File lib/rdoc/attr.rb, line 78 def definition case @rw when 'RW' then 'attr_accessor' when 'R' then 'attr_reader' when 'W' then 'attr_writer' end end