Ruby latest stable (v1_9_3_392) - 0 notes - Class: RDoc::TopLevel

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_9_1_378) is shown here.

These similar methods exist in v1_9_3_392:

add_class_or_module(collection, class_type, name, superclass) public

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.

Show source
Register or log in to add new notes.