class Sprockets::LegacyTiltProcessor
LegacyTiltProcessor.new(Tilt::CoffeeScriptProcessor)
Will be removed in Sprockets 4.x.
processor call signature.
Deprecated: Wraps legacy engine and process Tilt templates with new
def __getobj__
def __getobj__ @klass end
def call(input)
def call(input) filename = input[:filename] data = input[:data] context = input[:environment].context_class.new(input) data = @klass.new(filename) { data }.render(context) context.metadata.merge(data: data) end
def initialize(klass)
def initialize(klass) @klass = klass end