method

new

rails latest stable - Class: ActiveSupport::Testing::RemoteError

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.0.2) is shown here.

new(exception)
public

No documentation available.

# File activesupport/lib/active_support/testing/isolation.rb, line 10
      def initialize(exception)
        @message = "caught #{exception.class.name}: #{exception.message}"
        @backtrace = exception.backtrace
      end