Class: Slim::EmbeddedEngine::ERBEngine Private
- Inherits:
-
Slim::EmbeddedEngine
- Object
- Temple::Filter
- Filter
- Slim::EmbeddedEngine
- Slim::EmbeddedEngine::ERBEngine
- Defined in:
- lib/slim/embedded_engine.rb
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.
Instance Method Summary collapse
Methods inherited from Slim::EmbeddedEngine
Methods inherited from Filter
#on_slim_attrs, #on_slim_comment, #on_slim_control, #on_slim_output, #on_slim_tag, #tmp_var
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.
57 58 59 60 |
# File 'lib/slim/embedded_engine.rb', line 57 def (engine, *body) text = collect_text(body) Temple::ERB::Parser.new(:auto_escape => true).compile(text) end |