class Slim::Embedded::PrecompiledTiltEngine
Tilt-based engine which is precompiled
Protected Instance Methods
tilt_render(tilt_engine, tilt_options, text)
click to toggle source
# File lib/slim/embedded.rb, line 166 def tilt_render(tilt_engine, tilt_options, text) # HACK: Tilt::Engine#precompiled is protected [:dynamic, tilt_engine.new(tilt_options) { text }.send(:precompiled, {}).first] end