方法
Attributes
| [R] | 事件 |
类公共方法
new() 链接
源文件: 显示 | 在 GitHub 上
# File activesupport/lib/active_support/error_reporter/test_helper.rb, line 7 def initialize @events = [] end
实例公共方法
report(error, handled:, severity:, source:, context:) 链接
源文件: 显示 | 在 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