class Tilt::IndirectTemplate

Evaluate the source data, and render the filename returned.

Protected Instance Methods

evaluate(scope, locals, &block) click to toggle source

Render the filename returned as a tilt template

   # File lib/tilt/indirect.rb
13 def evaluate(scope, locals, &block)
14   Tilt.new(eval(data)).render(scope, locals, &block)
15 end
prepare() click to toggle source
   # File lib/tilt/indirect.rb
 9 def prepare
10 end