Module: Bootsnap::LoadPathCache::CoreExt
- Defined in:
- lib/bootsnap/load_path_cache/core_ext/active_support.rb,
lib/bootsnap/load_path_cache/core_ext/kernel_require.rb
Defined Under Namespace
Modules: ActiveSupport
Class Method Summary collapse
Class Method Details
.make_load_error(path) ⇒ Object
4 5 6 7 8 |
# File 'lib/bootsnap/load_path_cache/core_ext/kernel_require.rb', line 4 def self.make_load_error(path) err = LoadError.new("cannot load such file -- #{path}") err.define_singleton_method(:path) { path } err end |