class Slim::Embedded::StaticTiltEngine

Tilt-based static template (evaluated at compile-time)

Protected Instance Methods

tilt_render(tilt_engine, tilt_options, text) click to toggle source
# File lib/slim/embedded.rb, line 142
def tilt_render(tilt_engine, tilt_options, text)
  [:static, tilt_engine.new(tilt_options) { text }.render]
end