Namespace
Module
Methods
Class Public methods
forking_env?()
📝 Source code
# File activesupport/lib/active_support/testing/isolation.rb, line 14
def self.forking_env?
!ENV["NO_FORK"] && Process.respond_to?(:fork)
end
🔎 See on GitHub
Instance Public methods
run()
📝 Source code
# File activesupport/lib/active_support/testing/isolation.rb, line 18
def run
serialized = run_in_isolation do
super
end
Marshal.load(serialized)
end
🔎 See on GitHub