class Slim::Embedded::InterpolateTiltEngine
Static template with interpolated ruby code
def collect_text(body)
def collect_text(body) output_protector.call(interpolation.call(body)) end
def interpolation
def interpolation @interpolation ||= Interpolation.new end
def output_protector
def output_protector @output_protector ||= OutputProtector.new end
def tilt_render(tilt_engine, tilt_options, text)
def tilt_render(tilt_engine, tilt_options, text) output_protector.unprotect(tilt_engine.new(tilt_options) { text }.render) end