Module: Leftovers::ProcessorBuilders::Itself

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

Class Method Summary collapse

Class Method Details

.build(true_arg, then_processor) ⇒ Object



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

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