跳至內容 跳至搜尋
命名空間
方法
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