aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/load_error.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/lib/active_support/core_ext/load_error.rb')
-rw-r--r--activesupport/lib/active_support/core_ext/load_error.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/activesupport/lib/active_support/core_ext/load_error.rb b/activesupport/lib/active_support/core_ext/load_error.rb
index a04c4215d4..fac4639eed 100644
--- a/activesupport/lib/active_support/core_ext/load_error.rb
+++ b/activesupport/lib/active_support/core_ext/load_error.rb
@@ -1,4 +1,4 @@
-class MissingSourceFile < LoadError
+class MissingSourceFile < LoadError #:nodoc:
attr_reader :path
def initialize(message, path)
super(message)
@@ -24,10 +24,10 @@ class MissingSourceFile < LoadError
]
end
-module ActiveSupport
- module CoreExtensions
- module LoadErrorExtensions
- module LoadErrorClassMethods
+module ActiveSupport #:nodoc:
+ module CoreExtensions #:nodoc:
+ module LoadErrorExtensions #:nodoc:
+ module LoadErrorClassMethods #:nodoc:
def new(*args)
(self == LoadError && MissingSourceFile.from_message(args.first)) || super
end