class method
self.forking_env?
Ruby on Rails 7.2.3
Since v3.0.20Signature
self.forking_env?()
No documentation comment.
Source
# File activesupport/lib/active_support/testing/isolation.rb, line 18
def self.forking_env?
!ENV["NO_FORK"] && Process.respond_to?(:fork)
end
Defined in activesupport/lib/active_support/testing/isolation.rb line 18
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Testing::Isolation