Module: ActiveSupport::CoreExtensions::LoadErrorExtensions::LoadErrorClassMethods

Defined in:
lib/active_support/core_ext/load_error.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#new(*args) ⇒ Object



32
33
34
# File 'lib/active_support/core_ext/load_error.rb', line 32

def new(*args)
  (self == LoadError && MissingSourceFile.from_message(args.first)) || super
end