Sha256: 4ac8b48ef27e1a4bd359b5745686e6882b85059eeec40f8ebd5ad90a5498bce4
Contents?: true
Size: 458 Bytes
Versions: 10
Compression:
Stored size: 458 Bytes
Contents
module CopyTunerClient class Copyray # This: # message # Becomes: # <!--COPYRAY views.home.index.message-->message def self.augment_template(source, key) augmented = if source.present? "<!--COPYRAY #{key}-->#{source}" else source end ActiveSupport::SafeBuffer === source ? ActiveSupport::SafeBuffer.new(augmented) : augmented end end end
Version data entries
10 entries across 10 versions & 1 rubygems