ri > ActiveSupport::Autoload

= ActiveSupport::Autoload

(from /home/chedong/.local/share/rdoc)
------------------------------------------------------------------------
Autoload and eager load conveniences for your library.

This module allows you to define autoloads based on Rails conventions
(i.e. no need to define the path it is automatically guessed based on
the filename) and also define a set of constants that needs to be eager
loaded:

  module MyLib
    extend ActiveSupport::Autoload

    autoload :Model

    eager_autoload do
      autoload :Cache
    end
  end

Then your library can be eager loaded by simply calling:

  MyLib.eager_load!
------------------------------------------------------------------------
= Instance methods:

  autoload
  autoload_at
  autoload_under
  autoloads
  eager_autoload
  eager_load!

Generated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-28 04:09 @216.73.217.46
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!