Sha256: 40b95fbcf4c887578f082b44fcc9c722f3af38f074c54189a7a5edbcadc0c6ad
Contents?: true
Size: 291 Bytes
Versions: 51
Compression:
Stored size: 291 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.sub(/\.rb$/, "") == path.to_s.sub(/\.rb$/, "") end end
Version data entries
51 entries across 49 versions & 7 rubygems