mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
[DOC] Fix autoload method formatting
This commit is contained in:
parent
bb7025b7e8
commit
bb2d24731e
Notes:
git
2024-09-17 03:52:49 +00:00
1 changed files with 6 additions and 6 deletions
12
load.c
12
load.c
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue