1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
mame 2018-08-17 03:36:01 +00:00
parent 8b6297e56d
commit 6f63671feb

8
vm.c
View file

@ -2842,7 +2842,13 @@ Init_VM(void)
VALUE fcore; VALUE fcore;
VALUE mjit; 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_cRubyVM = rb_define_class("RubyVM", rb_cObject);
rb_undef_alloc_func(rb_cRubyVM); rb_undef_alloc_func(rb_cRubyVM);
rb_undef_method(CLASS_OF(rb_cRubyVM), "new"); rb_undef_method(CLASS_OF(rb_cRubyVM), "new");