class Tilt::BuilderTemplate

builder.rubyforge.org/
Builder template implementation. See:

def evaluate(scope, locals, &block)

def evaluate(scope, locals, &block)
  xml = (locals[:xml] || ::Builder::XmlMarkup.new(options))
  if data.respond_to?(:to_str)
    if !locals[:xml]
      locals = locals.merge(:xml => xml)
    end
    return super(scope, locals, &block)
  end
  data.call(xml)
  xml.target!
end

def precompiled_postamble(locals)

def precompiled_postamble(locals)
  "xml.target!"
end

def precompiled_template(locals)

def precompiled_template(locals)
  data.to_str
end

def prepare

def prepare
  options[:indent] ||= 2
end