diff options
author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-06-29 15:34:30 +0000 |
---|---|---|
committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-06-29 15:34:30 +0000 |
commit | 72835997446a545e9cb8b726e9a60e39902926a3 (patch) | |
tree | 12cc8a1ce375df015f63416df190a523a1e4cd73 /object.c | |
parent | cd79727438c3144541944ba04eeae4589266285f (diff) | |
download | ruby-72835997446a545e9cb8b726e9a60e39902926a3.tar.gz ruby-72835997446a545e9cb8b726e9a60e39902926a3.tar.xz ruby-72835997446a545e9cb8b726e9a60e39902926a3.zip |
* object.c: updated the diagram of metaclass hierarchy in rdoc.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'object.c')
-rw-r--r-- | object.c | 38 |
1 files changed, 18 insertions, 20 deletions
@@ -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) | - * ^ | - * | | - * +----------------+ */ |