Sha256: 2782c3721f6e159315cc225766cafd4f1f01274643370113caf4725646a0bd71
Contents?: true
Size: 399 Bytes
Versions: 97
Compression:
Stored size: 399 Bytes
Contents
# frozen_string_literal: true require 'eac_ruby_utils/core_ext' module Avm module Files class TextReplacer class Gsub common_constructor :from, :to do self.from = from self.to = to end def apply(input) input.gsub(from, to) end def to_s "\"#{from}\" => \"#{to}\"" end end end end end
Version data entries
97 entries across 97 versions & 2 rubygems