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 lib/rdoc/single_class.rb, line 9
def ancestors
  superclass ? super + [superclass] : super
end
definition() click to toggle source

The definition of this singleton class, class << MyClassName

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