1
0
Fork 0
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:
Steven Harman 2014-04-11 16:24:08 -04:00
parent 21bb6e0010
commit 7240d6a495

View file

@ -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$/, '')