--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Registers filename to be loaded (using Kernel::require) the first time that name (which may be a String or a symbol) is accessed in the namespace of mod. - !ruby/struct:SM::Flow::VERB body: " module A\n end\n A.autoload(:B, "b")\n A::B.doit # autoloads "b"\n" full_name: Module#autoload is_singleton: false name: autoload params: | mod.autoload(name, filename) => nil visibility: public