Class: Slim::EmbeddedEngine::ERBEngine Private
- 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.
ERB engine (uses the Temple ERB implementation)
Instance Method Summary collapse
Methods inherited from Filter
#on_slim_condcomment, #on_slim_control, #on_slim_output
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.
171 172 173 |
# File 'lib/slim/embedded_engine.rb', line 171 def (engine, body) Temple::ERB::Parser.new.call(CollectText.new.call(body)) end |