module SimpleCov::ParallelAdapters

def current

process as single-worker.
parallel test runner), in which case the caller should treat the
no adapter is active (i.e., we're not running under any recognized
registered adapter whose `active?` returns true. Returns nil when
The adapter SimpleCov should consult for this process — the first
def current
  return @current if defined?(@current)
  @current = adapters.find(&:active?)
end