Class: Slim::EmbeddedEngine::TiltEngine Private
- Inherits:
-
Slim::EmbeddedEngine
- Object
- Temple::HTML::Filter
- Filter
- Slim::EmbeddedEngine
- Slim::EmbeddedEngine::TiltEngine
- Defined in:
- lib/slim/embedded_engine.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Basic tilt engine
Direct Known Subclasses
InterpolateTiltEngine, PrecompiledTiltEngine, SassEngine, StaticTiltEngine
Instance Method Summary collapse
Methods inherited from Slim::EmbeddedEngine
Methods inherited from Filter
#on_slim_attrs, #on_slim_condcomment, #on_slim_control, #on_slim_output, #on_slim_tag
Instance Method Details
#on_slim_embedded(engine, body) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
92 93 94 95 96 |
# File 'lib/slim/embedded_engine.rb', line 92 def (engine, body) tilt_engine = Tilt[engine] || raise("Tilt engine #{engine} is not available.") = [engine.to_sym] || {} [:multi, tilt_render(tilt_engine, , collect_text(body)), CollectNewlines.new.call(body)] end |