Tilt::StringTemplate

The template source is evaluated as a Ruby string. The #{} interpolation syntax can be used to generated dynamic output.

Public Instance Methods

precompiled_template(locals) click to toggle source
     # File lib/sinatra/tilt.rb, line 346
346:     def precompiled_template(locals)
347:       @code
348:     end
prepare() click to toggle source
     # File lib/sinatra/tilt.rb, line 342
342:     def prepare
343:       @code = "%Q{#{data}}"
344:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.