Class: RI::ClassDescription
- Inherits:
-
ModuleDescription
- Object
- Description
- ModuleDescription
- RI::ClassDescription
- Defined in:
- lib/rdoc/ri/ri_descriptions.rb
Instance Attribute Summary collapse
-
#superclass ⇒ Object
Returns the value of attribute superclass.
Attributes inherited from ModuleDescription
#attributes, #class_methods, #constants, #includes, #instance_methods
Attributes inherited from Description
Instance Method Summary collapse
Methods inherited from ModuleDescription
Methods inherited from Description
Instance Attribute Details
#superclass ⇒ Object
Returns the value of attribute superclass
126 127 128 |
# File 'lib/rdoc/ri/ri_descriptions.rb', line 126 def superclass @superclass end |
Instance Method Details
#display_name ⇒ Object
128 129 130 |
# File 'lib/rdoc/ri/ri_descriptions.rb', line 128 def display_name "Class" end |
#superclass_string ⇒ Object
132 133 134 135 136 137 138 |
# File 'lib/rdoc/ri/ri_descriptions.rb', line 132 def superclass_string if @superclass && @superclass != "Object" @superclass else nil end end |