Ruby RDoc::TopLevel Functions

EditRocket provides the following information on RDoc::TopLevel functions in the Ruby source code builder.

add_class_or_module(collection, class_type, name, superclass) - Adding a class or module to a TopLevel is special, as we only want one copy of a particular top-level class. For example, if both file A and file B implement class C, we only want one ClassModule object for C. This code arranges to share classes and modules between files.

all_classes_and_modules() -

find_class_named(name) -

find_class_or_module_named(symbol) -

find_local_symbol(symbol) -

find_module_named(name) - Find a named module

full_name() -

new(file_name) -

reset() -