class Tilt::NokogiriTemplate

nokogiri.org/
Nokogiri template implementation. See:

def evaluate(scope, locals)

def evaluate(scope, locals)
  if data.respond_to?(:to_str)
    wrapper = proc { yield.sub(DOCUMENT_HEADER, "") } if block_given?
    super(scope, locals, &wrapper)
  else
    ::Nokogiri::XML::Builder.new.tap(&data).to_xml
  end
end

def precompiled_postamble(locals)

def precompiled_postamble(locals)
  "xml.to_xml"
end

def precompiled_preamble(locals)

def precompiled_preamble(locals)
  return super if locals.include? :xml
  "xml = ::Nokogiri::XML::Builder.new { |xml| }\n#{super}"
end

def precompiled_template(locals)

def precompiled_template(locals)
  data.to_str
end

def prepare; end

def prepare; end