Method: RDoc::Attr#inspect

Defined in:
lib/rdoc/code_object/attr.rb

#inspectObject

:nodoc:



86
87
88
89
90
91
92
93
94
95
96
97
# File 'lib/rdoc/code_object/attr.rb', line 86

def inspect # :nodoc:
  alias_for = @is_alias_for ? " (alias for #{@is_alias_for.name})" : nil
  visibility = self.visibility
  visibility = "forced #{visibility}" if force_documentation
  "#<%s:0x%x %s %s (%s)%s>" % [
    self.class, object_id,
    full_name,
    rw,
    visibility,
    alias_for,
  ]
end