Module: ActiveSupport::Dependencies

Defined in:
lib/active_support_decorators/dependencies_patch.rb

Instance Method Summary collapse

Instance Method Details

#require_or_load(file_name, const_path = nil) ⇒ Object



6
7
8
9
10
# File 'lib/active_support_decorators/dependencies_patch.rb', line 6

def require_or_load(file_name, const_path = nil)
  ActiveSupportDecorators.load_path_order(file_name).each do |path|
    require_or_load_without_multiple(path, const_path)
  end
end

#require_or_load_without_multipleObject



4
# File 'lib/active_support_decorators/dependencies_patch.rb', line 4

alias_method :require_or_load_without_multiple, :require_or_load