Class: RDocF95::RI::ClassDescription

Inherits:
ModuleDescription show all
Defined in:
lib/rdoc-f95/ri/descriptions.rb

Instance Attribute Summary collapse

Attributes inherited from ModuleDescription

#attributes, #class_methods, #constants, #includes, #instance_methods

Attributes inherited from Description

#comment, #full_name, #name

Instance Method Summary collapse

Methods inherited from ModuleDescription

#merge_in

Methods inherited from Description

#<=>, deserialize, #serialize

Instance Attribute Details

#superclassObject

Returns the value of attribute superclass


121
122
123
# File 'lib/rdoc-f95/ri/descriptions.rb', line 121

def superclass
  @superclass
end

Instance Method Details

#display_nameObject


123
124
125
# File 'lib/rdoc-f95/ri/descriptions.rb', line 123

def display_name
    "Class"
end

#superclass_stringObject


127
128
129
130
131
132
133
# File 'lib/rdoc-f95/ri/descriptions.rb', line 127

def superclass_string
  if @superclass && @superclass != "Object"
    @superclass
  else
    nil
  end
end