module Bootsnap::LoadPathCache::CoreExt

Public Class Methods

make_load_error(path) click to toggle source
# 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