Class: Rlyeh::Worker::ThreadPool

Inherits:
Object
  • Object
show all
Includes:
Celluloid
Defined in:
lib/rlyeh/worker.rb

Instance Method Summary collapse

Instance Method Details

#invoke(*args, &block) ⇒ Object



8
9
10
# File 'lib/rlyeh/worker.rb', line 8

def invoke(*args, &block)
  block.call *args if block
end