Sha256: 3886bda0a5263c361d9c79fdd78089c824f64275a0c926e3d4ea187736727f5f

Contents?: true

Size: 347 Bytes

Versions: 41

Compression:

Stored size: 347 Bytes

Contents

require 'sprockets/ejs_processor'

module Sprockets
  # Deprecated
  module EjsTemplate
    VERSION = EjsProcessor::VERSION

    def self.cache_key
      EjsProcessor.cache_key
    end

    def self.call(*args)
      Deprecation.new.warn "EjsTemplate is deprecated please use EjsProcessor instead"
      EjsProcessor.call(*args)
    end
  end
end

Version data entries

41 entries across 38 versions & 9 rubygems

Version Path
sprockets-3.7.0 lib/sprockets/ejs_template.rb