class RSpec::Core::Configuration

def backtrace_inclusion_patterns

You can modify the list via the getter, or replace it with the setter.

will be included.
Lines that match an exclusion _and_ an inclusion pattern

Defaults to [Regexp.new Dir.getwd].

Regexps used to include lines in backtraces.
def backtrace_inclusion_patterns
  @backtrace_formatter.inclusion_patterns
end