Methods
Attributes
[R] load_paths
Public Class methods
new(*paths)
     # File vendor/rails/activesupport/lib/active_support/dependencies.rb, line 111
111:     def initialize(*paths)
112:       @load_paths = paths.flatten.collect {|p| p.kind_of?(ConstantLoadPath) ? p : ConstantLoadPath.new(p)}
113:     end
Public Instance methods
clear!()

Erase all items in this module

     # File vendor/rails/activesupport/lib/active_support/dependencies.rb, line 125
125:     def clear!
126:       constants.each do |name|
127:         Object.send(:remove_const, name) if Object.const_defined?(name)
128:         self.send(:remove_const, name)
129:       end
130:     end
load_file!(file_path)

Load the source file at the given file path

     # File vendor/rails/activesupport/lib/active_support/dependencies.rb, line 120
120:     def load_file!(file_path)
121:       require_dependency(file_path)
122:     end
path()
     # File vendor/rails/activesupport/lib/active_support/dependencies.rb, line 117
117:     def path() [] end
root()
     # File vendor/rails/activesupport/lib/active_support/dependencies.rb, line 115
115:     def root() self end