[DOC] Fix autoload method formatting

This commit is contained in:
Nikolay Ponomarev 2024-09-15 23:07:17 +03:00 committed by Nobuyoshi Nakada
parent bb7025b7e8
commit bb2d24731e
Notes: git 2024-09-17 03:52:49 +00:00

12
load.c
View file

@ -1451,9 +1451,9 @@ ruby_init_ext(const char *name, void (*init)(void))
* A.autoload(:B, "b")
* A::B.doit # autoloads "b"
*
* If _const_ in _mod_ is defined as autoload, the file name to be
* loaded is replaced with _filename_. If _const_ is defined but not
* as autoload, does nothing.
* If _const_ in _mod_ is defined as autoload, the file name to be
* loaded is replaced with _filename_. If _const_ is defined but not
* as autoload, does nothing.
*/
static VALUE
@ -1515,9 +1515,9 @@ rb_mod_autoload_p(int argc, VALUE *argv, VALUE mod)
*
* autoload(:MyModule, "/usr/local/lib/modules/my_module.rb")
*
* If _const_ is defined as autoload, the file name to be loaded is
* replaced with _filename_. If _const_ is defined but not as
* autoload, does nothing.
* If _const_ is defined as autoload, the file name to be loaded is
* replaced with _filename_. If _const_ is defined but not as
* autoload, does nothing.
*/
static VALUE