Class: ActiveSupport::Testing::ErrorReporterAssertions::ErrorCollector::Report

Inherits:
Struct
  • Object
show all
Defined in:
lib/active_support/testing/error_reporter_assertions.rb,
lib/active_support/testing/error_reporter_assertions.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Struct

#as_json

Instance Attribute Details

#contextObject

Returns the value of attribute context

Returns:

  • (Object)

    the current value of context



10
11
12
# File 'lib/active_support/testing/error_reporter_assertions.rb', line 10

def context
  @context
end

#errorObject

Returns the value of attribute error

Returns:

  • (Object)

    the current value of error



10
11
12
# File 'lib/active_support/testing/error_reporter_assertions.rb', line 10

def error
  @error
end

#handledObject Also known as: handled?

Returns the value of attribute handled

Returns:

  • (Object)

    the current value of handled



10
11
12
# File 'lib/active_support/testing/error_reporter_assertions.rb', line 10

def handled
  @handled
end

#severityObject

Returns the value of attribute severity

Returns:

  • (Object)

    the current value of severity



10
11
12
# File 'lib/active_support/testing/error_reporter_assertions.rb', line 10

def severity
  @severity
end

#sourceObject

Returns the value of attribute source

Returns:

  • (Object)

    the current value of source



10
11
12
# File 'lib/active_support/testing/error_reporter_assertions.rb', line 10

def source
  @source
end