Module: MrDarcy::Drivers::Synchronous

Defined in:
lib/mr_darcy/drivers/synchronous.rb

Class Method Summary collapse

Class Method Details

.dispatchObject

Immediately yields whatever block is passed into it.


10
11
12
# File 'lib/mr_darcy/drivers/synchronous.rb', line 10

def dispatch
  yield
end

.waitObject

Immediately yields whatever block is passed into it.


15
16
17
# File 'lib/mr_darcy/drivers/synchronous.rb', line 15

def wait
  yield
end