跳至内容 跳至搜索
方法
F
N

类公共方法

new(preferred, fallback)

# File railties/lib/minitest/rails_plugin.rb, line 9
def initialize(preferred, fallback)
  @preferred = preferred
  @fallback = fallback
end

实例公共方法

filter(backtrace)

# File railties/lib/minitest/rails_plugin.rb, line 14
def filter(backtrace)
  filtered = @preferred.filter(backtrace)
  filtered = @fallback.filter(backtrace) if filtered.empty?
  filtered
end