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

Defined in:
lib/gems/activesupport-2.2.2/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/gems/activesupport-2.2.2/lib/active_support/core_ext/load_error.rb', line 31

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