class Tilt::RadiusTemplate

github.com/jlong/radius/
Radius Template

def allows_script?

def allows_script?
  false
end

def evaluate(scope, locals, &block)

def evaluate(scope, locals, &block)
  context = ContextClass.new
  context.tilt_scope = scope
  context.define_tag("yield", &block) if block
  locals.each do |tag, value|
    context.define_tag(tag) do
      value
    end
  end
  @options[:tag_prefix] = 'r' unless @options.has_key?(:tag_prefix)
  Radius::Parser.new(context, @options).parse(@data)
end