Methods

Class Public methods

new(preferred, fallback)

📝 Source code
# File railties/lib/minitest/rails_plugin.rb, line 9
    def initialize(preferred, fallback)
      @preferred = preferred
      @fallback = fallback
    end
🔎 See on GitHub

Instance Public methods

filter(backtrace)

📝 Source code
# 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
🔎 See on GitHub