Template
Radius Template github.com/jlong/radius/
# File lib/tilt/radius.rb, line 44 def allows_script? false end
# File lib/tilt/radius.rb, line 16 def dup i = super i.tilt_scope = tilt_scope i end
# File lib/tilt/radius.rb, line 27 def evaluate(scope, locals, &block) context = self.class.context_class.new context.tilt_scope = scope context.define_tag("yield") do block.call end locals.each do |tag, value| context.define_tag(tag) do value end end options = {:tag_prefix => 'r'}.merge(@options) parser = Radius::Parser.new(context, options) parser.parse(data) end
Generated with the Darkfish Rdoc Generator 2.