Methods
A
E
Class Public methods
eager_autoload!()
    # File activesupport/lib/active_support/dependencies/autoload.rb, line 42
42:     def self.eager_autoload!
43:       @@autoloads.values.each { |file| require file }
44:     end
Instance Public methods
autoload(const_name, path = @@at_path)
    # File activesupport/lib/active_support/dependencies/autoload.rb, line 11
11:     def autoload(const_name, path = @@at_path)
12:       full = [self.name, @@under_path, const_name.to_s, path].compact.join("::")
13:       location = path || Inflector.underscore(full)
14: 
15:       if @@eager_autoload
16:         @@autoloads[const_name] = location
17:       end
18:       super const_name, location
19:     end
autoload_at(path)
    # File activesupport/lib/active_support/dependencies/autoload.rb, line 28
28:     def autoload_at(path)
29:       @@at_path, old_path = path, @@at_path
30:       yield
31:     ensure
32:       @@at_path = old_path
33:     end
autoload_under(path)
    # File activesupport/lib/active_support/dependencies/autoload.rb, line 21
21:     def autoload_under(path)
22:       @@under_path, old_path = path, @@under_path
23:       yield
24:     ensure
25:       @@under_path = old_path
26:     end
autoloads()
    # File activesupport/lib/active_support/dependencies/autoload.rb, line 46
46:     def autoloads
47:       @@autoloads
48:     end
eager_autoload()
    # File activesupport/lib/active_support/dependencies/autoload.rb, line 35
35:     def eager_autoload
36:       old_eager, @@eager_autoload = @@eager_autoload, true
37:       yield
38:     ensure
39:       @@eager_autoload = old_eager
40:     end