Actions
Bug #1622
closed[PATCH] Module.autoload Documentation Fix
    Bug #1622:
    [PATCH] Module.autoload Documentation Fix
  
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.2dev (2009-06-01 trunk 23614) [i686-linux]
Backport:
Description
=begin
The documentation for Module.autoload uses name and module to refer to the same variable. This patch standardizes on module.
diff --git a/load.c b/load.c
index 5f9d4f2..7ee7443 100644
--- a/load.c
+++ b/load.c
@@ -637,7 +637,7 @@ ruby_init_ext(const char *name, void (*init)(void))
/*
- call-seq:
 
- 
- 
mod.autoload(name, filename) => nil 
 - 
 
- 
- 
mod.autoload(module, filename) => nil - Registers filename to be loaded (using 
Kernel::require) - the first time that module (which may be a 
Stringor
=end 
 - 
 
Actions