Sha256: 2e466737def3992c156d1b6707ff883121ccd2a90f922ae8324049738ea3aeab
Contents?: true
Size: 429 Bytes
Versions: 14
Compression:
Stored size: 429 Bytes
Contents
# frozen_string_literal: true module Process class << self def fork_with_simplecov(&block) if defined?(SimpleCov) && SimpleCov.running fork_without_simplecov do SimpleCov.at_fork.call(Process.pid) block.call if block_given? end else fork_without_simplecov(&block) end end alias fork_without_simplecov fork alias fork fork_with_simplecov end end
Version data entries
14 entries across 13 versions & 7 rubygems