Module: Leftovers::ProcessorBuilders::Receiver

Defined in:
lib/leftovers/processor_builders/receiver.rb

Class Method Summary collapse

Class Method Details

.build(true_arg, then_processor) ⇒ Object



6
7
8
# File 'lib/leftovers/processor_builders/receiver.rb', line 6

def self.build(true_arg, then_processor)
  Processors::Receiver.new(then_processor) if true_arg
end