module
ActiveSupport::Testing::Isolation
Methods
- F
- R
Public class methods
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
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