aboutsummaryrefslogtreecommitdiffstats
path: root/object.c
diff options
context:
space:
mode:
Diffstat (limited to 'object.c')
-rw-r--r--object.c38
1 files changed, 18 insertions, 20 deletions
diff --git a/object.c b/object.c
index 402b9e71f5..db5f418329 100644
--- a/object.c
+++ b/object.c
@@ -2427,27 +2427,25 @@ boot_defmetametaclass(VALUE klass, VALUE metametaclass)
* that follows, the vertical arrows represent inheritance, and the
* parentheses meta-classes. All metaclasses are instances
* of the class `Class'.
+ * +---------+ +-...
+ * | | |
+ * BasicObject-----|-->(BasicObject)-------|-...
+ * ^ | ^ |
+ * | | | |
+ * Object---------|----->(Object)---------|-...
+ * ^ | ^ |
+ * | | | |
+ * +-------+ | +--------+ |
+ * | | | | | |
+ * | Module-|---------|--->(Module)-|-...
+ * | ^ | | ^ |
+ * | | | | | |
+ * | Class-|---------|---->(Class)-|-...
+ * | ^ | | ^ |
+ * | +---+ | +----+
+ * | |
+ * obj--->OtherClass---------->(OtherClass)-----------...
*
- * +-----------------+
- * | |
- * BasicObject-->(BasicObject) |
- * ^ ^ |
- * | | |
- * Object---->(Object) |
- * ^ ^ ^ ^ |
- * | | | | |
- * | | +-----+ +---------+ |
- * | | | | |
- * | +-----------+ | |
- * | | | | |
- * +------+ | Module--->(Module) |
- * | | ^ ^ |
- * OtherClass-->(OtherClass) | | |
- * | | |
- * Class---->(Class) |
- * ^ |
- * | |
- * +----------------+
*/