module Leftovers::ProcessorBuilders::Value

Public Class Methods

build(value, then_processor) click to toggle source
# File lib/leftovers/processor_builders/value.rb, line 6
def self.build(value, then_processor)
  return unless value && then_processor

  ::Leftovers::ValueProcessors::ReplaceValue.new(value, then_processor)
end