Method: Circuitry::Processors::Batcher.process

Defined in:
lib/circuitry/processors/batcher.rb

.process(&block) ⇒ Object

Raises:

  • (ArgumentError)


9
10
11
12
# File 'lib/circuitry/processors/batcher.rb', line 9

def process(&block)
  raise ArgumentError, 'no block given' unless block_given?
  pool << block
end