Method: Threadless::Executor#initialize
- Defined in:
- lib/threadless.rb
#initialize(body, procs) ⇒ Executor
Returns a new instance of Executor.
53 54 55 |
# File 'lib/threadless.rb', line 53 def initialize(body, procs) @body, @procs = body, procs end |