ruby-changes:52196
From: mame <ko1@a...>
Date: Fri, 17 Aug 2018 12:36:06 +0900 (JST)
Subject: [ruby-changes:52196] mame:r64404 (trunk): vm.c: add a simple rdoc for RubyVM
mame 2018-08-17 12:36:01 +0900 (Fri, 17 Aug 2018) New Revision: 64404 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64404 Log: vm.c: add a simple rdoc for RubyVM Modified files: trunk/vm.c Index: vm.c =================================================================== --- vm.c (revision 64403) +++ vm.c (revision 64404) @@ -2842,7 +2842,13 @@ Init_VM(void) https://github.com/ruby/ruby/blob/trunk/vm.c#L2842 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"); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/