Sha256: 042714afb5c82ae2d22ae32d01fa2aa72694dd2cf1b3c07ab04e9b0dfe2f054a
Contents?: true
Size: 430 Bytes
Versions: 8
Compression:
Stored size: 430 Bytes
Contents
# frozen_string_literal: true module Leftovers module Processors class Swapcase include ComparableInstance def initialize(then_processor) @then_processor = then_processor freeze end def process(str, current_node, matched_node, acc) return unless str @then_processor.process(str.swapcase, current_node, matched_node, acc) end freeze end end end
Version data entries
8 entries across 8 versions & 1 rubygems