Sha256: c65da925b90796bea5be8ff09e9f3967e88947845675dd5374617b70a3ebf9f7
Contents?: true
Size: 457 Bytes
Versions: 8
Compression:
Stored size: 457 Bytes
Contents
# frozen_string_literal: true module Leftovers module Processors class Each include ComparableInstance attr_reader :processors def initialize(processors) @processors = processors freeze end def process(str, current_node, matched_node, acc) @processors.each do |processor| processor.process(str, current_node, matched_node, acc) end end freeze end end end
Version data entries
8 entries across 8 versions & 1 rubygems