Skip to Content Skip to Search
v7.1.0
module ActiveSupport::Testing::Isolation
Methods
F
R

Public class methods

forking_env?()

Permalink
Source code GitHub
# File activesupport/lib/active_support/testing/isolation.rb, line 14
def self.forking_env?
  !ENV["NO_FORK"] && Process.respond_to?(:fork)
end

Public instance methods

run()

Permalink
Source code GitHub
# File activesupport/lib/active_support/testing/isolation.rb, line 18
def run
  serialized = run_in_isolation do
    super
  end

  Marshal.load(serialized)
end
Namespace
Definition files