Module Faraday::AutoloadHelper
In: lib/faraday/autoload.rb

Internal: Adds the ability for other modules to manage autoloadable constants.

Methods

Public Instance methods

Internal: Filters the module‘s contents with those that have been already autoloaded.

Returns an Array of Class/Module objects.

Internal: Registers the constants to be auto loaded.

prefix - The String require prefix. If the path is inside Faraday, then

          it will be prefixed with the root path of this loaded Faraday
          version.

options - Hash of Symbol => String library names.

Examples.

  Faraday.autoload_all 'faraday/foo',
    :Bar => 'bar'

  # requires faraday/foo/bar to load Faraday::Bar.
  Faraday::Bar

Returns nothing.

Internal: Loads each autoloaded constant. If thread safety is a concern, wrap this in a Mutex.

Returns nothing.

[Validate]