class Opal::ERB::Processor
def evaluate(context, locals, &block)
def evaluate(context, locals, &block) compiler = Opal::ERB::Compiler.new(@data, context.logical_path.sub(/#{REGEXP_START}templates\//, '')) @data = compiler.prepared_source super end
def initialize_engine
def initialize_engine super require_template_library 'opal/erb' end