Sha256: f5d8fc0709a99984fcc1a40e3b5d6216f3c3fc447ca009d43af853ac8f0e3ec9
Contents?: true
Size: 399 Bytes
Versions: 13
Compression:
Stored size: 399 Bytes
Contents
# frozen_string_literal: true module Leftovers module ValueProcessors class AddSuffix def initialize(suffix, then_processor) @suffix = suffix @then_processor = then_processor freeze end def process(str, node, method_node) return unless str @then_processor.process("#{str}#{@suffix}", node, method_node) end end end end
Version data entries
13 entries across 13 versions & 1 rubygems