跳至内容 跳至搜索
命名空间
方法
F
R

类公共方法

forking_env?()

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

实例公共方法

run()

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

  Marshal.load(serialized)
end