class Minitest::BacktraceFilterWithFallback

Experimental RBS support (using type sampling data from the type_fusion project).

# sig/minitest/rails_plugin.rbs

class Minitest::BacktraceFilterWithFallback
  def filter: (Array[String] backtrace) -> untyped
  def initialize: (Rails::BacktraceCleaner preferred, Minitest::BacktraceFilter fallback) -> void
end

def filter(backtrace)

Experimental RBS support (using type sampling data from the type_fusion project).

def filter: (String | String | String | String | String | String | String | String | String | String | String | String | String | String | String | String | String | String | String | String | String | String | String | String | String | String | String | String | String | String | String | String | String | String | String | String | String | String | String | String | String | String backtrace) -> untyped

This signature was generated using 1 sample from 1 application.

def filter(backtrace)
  filtered = @preferred.filter(backtrace)
  filtered = @fallback.filter(backtrace) if filtered.empty?
  filtered
end

def initialize(preferred, fallback)

Experimental RBS support (using type sampling data from the type_fusion project).

def initialize: (Rails::BacktraceCleaner preferred, Minitest::BacktraceFilter fallback) -> void

This signature was generated using 4 samples from 1 application.

def initialize(preferred, fallback)
  @preferred = preferred
  @fallback = fallback
end