Sha256: ff59d2bcf7905e42958dd1714265d86b452477abff58def2028bbc6ec1c07107

Contents?: true

Size: 227 Bytes

Versions: 4

Compression:

Stored size: 227 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
leftovers-0.12.2 lib/leftovers/processor_builders/itself.rb
leftovers-0.12.1 lib/leftovers/processor_builders/itself.rb
leftovers-0.12.0 lib/leftovers/processor_builders/itself.rb
leftovers-0.11.2 lib/leftovers/processor_builders/itself.rb