Sha256: 1a579026f4d717fe85b3914a0cf5ca89e426a56c23d74d58ebbf0657c113223c
Contents?: true
Size: 299 Bytes
Versions: 133
Compression:
Stored size: 299 Bytes
Contents
# frozen_string_literal: true class LoadError # Returns true if the given path name (except perhaps for the ".rb" # extension) is the missing file which caused the exception to be raised. def is_missing?(location) location.delete_suffix(".rb") == path.to_s.delete_suffix(".rb") end end
Version data entries
133 entries across 127 versions & 18 rubygems