class Tilt::ErubisTemplate

within <%= %> blocks will be automatically html escaped.
the engine class instead of the default. All content
:escape_html when true, ::Erubis::EscapedEruby will be used as
instead of the default (which is ::Erubis::Eruby).
:engine_class allows you to specify a custom engine class to use
passed down to the Erubis engine:
ErubisTemplate supports the following additional options, which are not
/
Erubis template implementation. See:

def initialize_engine

def initialize_engine
  return if defined? ::Erubis
  require_template_library 'erubis'
end

def precompiled(locals)

def precompiled(locals)
  source, offset = super
  [source, offset - 1]
end

def precompiled_postamble(locals)

def precompiled_postamble(locals)
  ["_buf", super].join("\n")
end

def precompiled_preamble(locals)

def precompiled_preamble(locals)
  [super, "#{@outvar} = _buf = ''"].join("\n")
end

def prepare

def prepare
  @options.merge!(:preamble => false, :postamble => false)
  @outvar = options.delete(:outvar) || self.class.default_output_variable
  engine_class = options.delete(:engine_class)
  engine_class = ::Erubis::EscapedEruby if options.delete(:escape_html)
  @engine = (engine_class || ::Erubis::Eruby).new(data, options)
end