Method: YARD::CodeObjects::ClassObject#superclass

Defined in:
lib/yard/code_objects/class_object.rb

#superclassClassObject

The YARD::CodeObjects::ClassObject that this class object inherits from in Ruby source.

Returns:

  • (ClassObject)

    a class object that is the superclass of this one


7
8
9
# File 'lib/yard/code_objects/class_object.rb', line 7

def superclass
  @superclass
end