diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-08-17 03:36:01 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-08-17 03:36:01 +0000 |
commit | 50ff7ea46f0a537e19a20deaed4364973dcad1e0 (patch) | |
tree | 441c15f81849c00a9fc0da82a642d26a04c65709 /vm.c | |
parent | f9704647aef5041108b12ecc0934f52448a48253 (diff) | |
download | ruby-50ff7ea46f0a537e19a20deaed4364973dcad1e0.tar.gz |
vm.c: add a simple rdoc for RubyVM
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm.c')
-rw-r--r-- | vm.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -2842,7 +2842,13 @@ Init_VM(void) VALUE fcore; VALUE mjit; - /* ::RubyVM */ + /* + * Document-class: RubyVM + * + * RubyVM module provides some access to Ruby internal. + * This module is for very limited purpose, such as debugging, + * prototyping, and research. Normal users must not use it. + */ rb_cRubyVM = rb_define_class("RubyVM", rb_cObject); rb_undef_alloc_func(rb_cRubyVM); rb_undef_method(CLASS_OF(rb_cRubyVM), "new"); |