Sha256: 369d3dbec2abc74560096bf73f7309f5500702e436236b5f06b750b67b029e69
Contents?: true
Size: 432 Bytes
Versions: 8
Compression:
Stored size: 432 Bytes
Contents
# frozen_string_literal: true module Leftovers module Processors class ReplaceValue include ComparableInstance def initialize(value, then_processor) @value = value @then_processor = then_processor freeze end def process(_str, current_node, matched_node, acc) @then_processor.process(@value, current_node, matched_node, acc) end freeze end end end
Version data entries
8 entries across 8 versions & 1 rubygems