Method deprecated or moved
This method is deprecated or moved on the latest stable version.
The last existing version (v1_9_2_180) is shown here.
type()
public
Returns attr_reader, attr_writer or attr_accessor as appropriate
# File lib/rdoc/attr.rb, line 169
def type
case @rw
when 'RW' then 'attr_accessor'
when 'R' then 'attr_reader'
when 'W' then 'attr_writer'
end
end