# File lib/mocha/backtrace_filter.rb, line 11 def filtered(backtrace) backtrace.reject { |location| Regexp.new(@lib_directory).match(File.expand_path(location)) } end