diff options
author | Nikolay Ponomarev <[email protected]> | 2024-09-15 23:07:17 +0300 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2024-09-17 12:52:31 +0900 |
commit | bb2d24731e72ebb029396f1fa17201da0bce3901 () | |
tree | d8e2903b3a92348e732a246c545a1e14df96b64a | |
parent | bb7025b7e837e44100c982a3fa294f1f265374fe (diff) |
[DOC] Fix autoload method formatting
Notes: Merged: https://.com/ruby/ruby/pull/11627
-rw-r--r-- | load.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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. */ 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. */ static VALUE |