Static template with interpolated ruby code
# File lib/slim/embedded_engine.rb, line 138 def initialize(opts = {}) super @protect = ProtectOutput.new end
# File lib/slim/embedded_engine.rb, line 143 def collect_text(body) text = Interpolation.new.call(body) @protect.call(text) end
# File lib/slim/embedded_engine.rb, line 148 def tilt_render(tilt_engine, tilt_options, text) @protect.unprotect(tilt_engine.new(tilt_options) { text }.render) end