class RDoc::SingleClass

A singleton class

Public Instance Methods

ancestors() click to toggle source

Adds the superclass to the included modules.

Calls superclass method RDoc::ClassModule#ancestors
# File rdoc/code_object/single_class.rb, line 10
def ancestors
  superclass ? super + [superclass] : super
end
definition() click to toggle source

The definition of this singleton class, class << MyClassName

# File rdoc/code_object/single_class.rb, line 21
def definition
  "class << #{full_name}"
end