Methods

Attributes

[R] events

Class Public methods

new()

📝 Source code
# File activesupport/lib/active_support/error_reporter/test_helper.rb, line 7
def initialize
  @events = []
end
🔎 See on GitHub

Instance Public methods

report(error, handled:, severity:, source:, context:)

📝 Source code
# File activesupport/lib/active_support/error_reporter/test_helper.rb, line 11
def report(error, handled:, severity:, source:, context:)
  @events << [error, handled, severity, source, context]
end
🔎 See on GitHub

Definition files