D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Module
/
Filename :
autoload-i.ri
back
Copy
U:RDoc::AnyMethod[iI" autoload:ETI"Module#autoload;TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"?Registers _filename_ to be loaded (using Kernel::require) ;TI";the first time that _const_ (which may be a String or ;TI"5a symbol) is accessed in the namespace of _mod_.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [ I"module A ;TI" end ;TI"A.autoload(:B, "b") ;TI"*A::B.doit # autoloads "b" ;T:@format0o; ; [I"EIf _const_ in _mod_ is defined as autoload, the file name to be ;TI"Hloaded is replaced with _filename_. If _const_ is defined but not ;TI"as autoload, does nothing.;T: @fileI"load.c;T:0@omit_headings_from_table_of_contents_below0I",mod.autoload(const, filename) -> nil ;T0[ I" (p1, p2);T@FI"Module;TcRDoc::NormalClass00