class LoadError
def is_missing?(location)
Returns true if the given path name (except perhaps for the ".rb"
def is_missing?(location) location.sub(/\.rb$/, ''.freeze) == path.sub(/\.rb$/, ''.freeze) end
def path
def path @path ||= begin REGEXPS.find do |regex| message =~ regex end $1 end end