7 8 9 10 11 12 13
# File 'lib/rspec_instrumentation/rspec.rb', line 7 def setup(config, service:) case service when :new_relic then NewRelic.new(config) when :sentry then Sentry.new(config) else warn("Unknown service: #{service}") end end