class method
self.forking_env?
Ruby on Rails 4.1.16
Since v3.0.20Signature
self.forking_env?()
No documentation comment.
Source
# File activesupport/lib/active_support/testing/isolation.rb, line 14
def self.forking_env?
!ENV["NO_FORK"] && ((RbConfig::CONFIG['host_os'] !~ /mswin|mingw/) && (RUBY_PLATFORM !~ /java/))
end
Defined in activesupport/lib/active_support/testing/isolation.rb line 14
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Testing::Isolation