mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Correct docs as singlton true is not returned here
[ci skip]
This commit is contained in:
parent
21bb6e0010
commit
7240d6a495
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ class LoadError
|
|||
end
|
||||
end
|
||||
|
||||
# Returns <tt>true</tt> if the given path name (except perhaps for the ".rb"
|
||||
# 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.sub(/\.rb$/, '')
|
||||
|
|
Loading…
Reference in a new issue