diff options
author | Nobuyoshi Nakada <[email protected]> | 2023-01-04 00:06:54 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2023-01-04 01:18:24 +0900 |
commit | 1bb0749c5ba4b730304ca0cf37701e654fa06759 (patch) | |
tree | 050f2782478539e497765313c2d77d80463ce5aa /class.c | |
parent | 59cf9ebf4dc211cb9d71a484866895b3d927fbe6 (diff) |
[DOC] Move the internal document for `Init_class_hierarchy`
It has hidden the document for `Object` class.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/7057
Diffstat (limited to 'class.c')
-rw-r--r-- | class.c | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -803,6 +803,27 @@ refinement_import_methods(int argc, VALUE *argv, VALUE refinement) } # endif +/*! + *-- + * \private + * Initializes the world of objects and classes. + * + * At first, the function bootstraps the class hierarchy. + * It initializes the most fundamental classes and their metaclasses. + * - \c BasicObject + * - \c Object + * - \c Module + * - \c Class + * After the bootstrap step, the class hierarchy becomes as the following + * diagram. + * + * \image html boottime-classes.png + * + * Then, the function defines classes, modules and methods as usual. + * \ingroup class + *++ + */ + void Init_class_hierarchy(void) { |