Sha256: b4f6c43f9e3e22a7ea0f2821742bb94ee433b20d8654abe96cf69280dbe7856f
Contents?: true
Size: 434 Bytes
Versions: 8
Compression:
Stored size: 434 Bytes
Contents
# frozen_string_literal: true module Leftovers module Processors class Capitalize 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.capitalize, current_node, matched_node, acc) end freeze end end end
Version data entries
8 entries across 8 versions & 1 rubygems