method

is_missing?

v7.1.3.2 - Show latest stable - Class: LoadError
is_missing?(location)
public

Returns true if the given path name (except perhaps for the “.rb” extension) is the missing file which caused the exception to be raised.