Method: Spork.exec_prefork

Defined in:
lib/spork.rb

.exec_prefork(&block) ⇒ Object

Used by the server. Called when loading the prefork blocks of the code.



60
61
62
63
# File 'lib/spork.rb', line 60

def exec_prefork(&block)
  @state = :prefork
  yield
end