Class: Contender::DirectExecutor
- Defined in:
- lib/contender/direct_executor.rb
Overview
Simple implementation of an executor that executes blocks in the calling thread
Instance Method Summary collapse
Instance Method Details
#execute(*arguments, &block) ⇒ Object
4 5 6 |
# File 'lib/contender/direct_executor.rb', line 4 def execute(*arguments, &block) block.call *arguments end |