Current File : //proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/Kernel/autoload-i.yaml |
--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: Registers <em>filename</em> to be loaded (using <tt>Kernel::require</tt>) the first time that <em>module</em> (which may be a <tt>String</tt> or a symbol) is accessed.
- !ruby/struct:SM::Flow::VERB
body: " autoload(:MyModule, "/usr/local/lib/modules/my_module.rb")\n"
full_name: Kernel#autoload
is_singleton: false
name: autoload
params: |
autoload(module, filename) => nil
visibility: public