class Dry::System::Loader::Autoloading

Component loader for autoloading-enabled applications

This behaves like the default loader, except instead of requiring the given path, it loads the respective constant, allowing the autoloader to load the corresponding file per its own configuration.

@see Loader @api public

Public Class Methods

require!(component) click to toggle source
# File lib/dry/system/loader/autoloading.rb, line 18
def require!(component)
  constant(component)
  self
end