ActiveSupport::ErrorReporter::TestHelper::ErrorSubscriber (original) (raw)

Methods

N

R

Attributes

Class Public methods

Source: show | on GitHub

File activesupport/lib/active_support/error_reporter/test_helper.rb, line 7

def initialize @events = [] end

Instance Public methods

Source: show | on GitHub

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