Slim::Embedded::InterpolateTiltEngine

Static template with interpolated ruby code

Public Instance Methods

collect_text(body) click to toggle source
# File lib/slim/embedded.rb, line 174
def collect_text(body)
  output_protector.call(interpolation.call(body))
end
tilt_render(tilt_engine, tilt_options, text) click to toggle source
# File lib/slim/embedded.rb, line 178
def tilt_render(tilt_engine, tilt_options, text)
  output_protector.unprotect(tilt_engine.new(tilt_options) { text }.render)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.