跳到內容 跳到搜尋
方法
N
R

屬性

[R] events

類別公開方法

new()

# File activesupport/lib/active_support/error_reporter/test_helper.rb, line 7
def initialize
  @events = []
end

執行個體公開方法

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

# 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