# File lib/new_relic/agent/instrumentation/sinatra/ignorer.rb, line 11 def self.should_ignore?(app, type) return false if !app.settings.respond_to?(:newrelic_ignores) app.settings.newrelic_ignores[type].any? do |pattern| pattern.match(app.request.path_info) end end