aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
diff options
context:
space:
mode:
authorSteven Harman <steven@harmanly.com>2014-04-11 16:24:08 -0400
committerSteven Harman <steven@harmanly.com>2014-04-11 16:24:08 -0400
commit7240d6a495122703f3120699707f93f90f612b4f (patch)
treedc887076a1bcdbe94b3ea05363c1ce4b2e47121f /activesupport/lib
parent21bb6e00107b5e089f4b16054ab61b18a71e01fd (diff)
downloadrails-7240d6a495122703f3120699707f93f90f612b4f.tar.gz
rails-7240d6a495122703f3120699707f93f90f612b4f.tar.bz2
rails-7240d6a495122703f3120699707f93f90f612b4f.zip
Correct docs as singlton true is not returned here
[ci skip]
Diffstat (limited to 'activesupport/lib')
-rw-r--r--activesupport/lib/active_support/core_ext/load_error.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/load_error.rb b/activesupport/lib/active_support/core_ext/load_error.rb
index 81eaee8ca3..768b980f21 100644
--- a/activesupport/lib/active_support/core_ext/load_error.rb
+++ b/activesupport/lib/active_support/core_ext/load_error.rb
@@ -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$/, '')