mirror of
https://github.com/lostisland/faraday.git
synced 2025-10-04 00:02:03 -04:00
11 lines
261 B
Ruby
11 lines
261 B
Ruby
module Faraday
|
|
# Loads each autoloaded constant. If thread safety is a concern, wrap
|
|
# this in a Mutex.
|
|
def self.load
|
|
constants.each do |const|
|
|
const_get(const) if autoload?(const)
|
|
end
|
|
end
|
|
|
|
autoload :Connection, 'faraday/connection'
|
|
end |