Class: Module
- Inherits:
-
Object
- Object
- Module
- Defined in:
- lib/bootsnap/load_path_cache/core_ext/kernel_require.rb
Instance Method Summary collapse
Instance Method Details
#autoload(const, path) ⇒ Object
81 82 83 84 85 86 87 |
# File 'lib/bootsnap/load_path_cache/core_ext/kernel_require.rb', line 81 def autoload(const, path) autoload_without_cache(const, Bootsnap::LoadPathCache.load_path_cache.find(path) || path) rescue Bootsnap::LoadPathCache::ReturnFalse return false rescue Bootsnap::LoadPathCache::FallbackScan autoload_without_cache(const, path) end |
#autoload_without_cache ⇒ Object
80 |
# File 'lib/bootsnap/load_path_cache/core_ext/kernel_require.rb', line 80 alias_method :autoload_without_cache, :autoload |