Class: Async::Runnner::Strategy::Fork
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Async::Runnner::Strategy::Base
Instance Method Details
#join ⇒ Object
57 58 59 |
# File 'lib/async/runner.rb', line 57 def join Process.wait @pid end |
#run! ⇒ Object
53 54 55 |
# File 'lib/async/runner.rb', line 53 def run! @pid = fork(@block) end |