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



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

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