method

inspect

v1_9_1_378 - Show latest stable - Class: RDoc::Attr
inspect()
public

No documentation available.

# File lib/rdoc/code_objects.rb, line 993
    def inspect
      attr = case rw
             when 'RW' then :attr_accessor
             when 'R'  then :attr_reader
             when 'W'  then :attr_writer
             else
               " (#{rw})"
             end

      "#<%s:0x%x %s.%s :%s>" % [
        self.class, object_id,
        parent_name, attr, @name,
      ]
    end