diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-08-03 08:06:43 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-08-04 07:33:38 +0900 |
commit | 23106de54f912d949fae023a4ec57223478ec036 (patch) | |
tree | 913ddf08a1163ea950e78b1ec72f35b180a3b853 /activesupport | |
parent | 7d6990344e3d549ef451bc554d126aaa8544ac95 (diff) | |
download | rails-23106de54f912d949fae023a4ec57223478ec036.tar.gz rails-23106de54f912d949fae023a4ec57223478ec036.tar.bz2 rails-23106de54f912d949fae023a4ec57223478ec036.zip |
Remove unused `LoadError::REGEXPS` constant
since 4ad1a52, `LoadError::REGEXPS` is no longer needed.
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/core_ext/load_error.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/activesupport/lib/active_support/core_ext/load_error.rb b/activesupport/lib/active_support/core_ext/load_error.rb index c3939b5d0b..750f858fcc 100644 --- a/activesupport/lib/active_support/core_ext/load_error.rb +++ b/activesupport/lib/active_support/core_ext/load_error.rb @@ -1,13 +1,6 @@ # frozen_string_literal: true class LoadError - REGEXPS = [ - /^no such file to load -- (.+)$/i, - /^Missing \w+ (?:file\s*)?([^\s]+.rb)$/i, - /^Missing API definition file in (.+)$/i, - /^cannot load such file -- (.+)$/i, - ] - # 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) |