Project

General

Profile

Actions

Bug #1622

closed

[PATCH] Module.autoload Documentation Fix

Added by runpaint (Run Paint Run Run) almost 16 years ago. Updated about 14 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.2dev (2009-06-01 trunk 23614) [i686-linux]
Backport:
[ruby-core:23835]

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 String or
      =end
Actions #1

Updated by matz (Yukihiro Matsumoto) almost 16 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

=begin
Applied in changeset r23725.
=end

Actions

Also available in: Atom PDF

Like0
Like0