The template source is evaluated as a Ruby string. The #{} interpolation syntax can be used to generated dynamic output.
# File lib/tilt.rb, line 369 def precompiled_template(locals) @code end
# File lib/tilt.rb, line 365 def prepare @code = "%Q{#{data}}" end