Class: Slim::CollectText Private
- 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
- #call(exp) ⇒ Object private
- #on_slim_interpolate(text) ⇒ Object private
Methods inherited from Filter
#on_slim_attrs, #on_slim_condcomment, #on_slim_control, #on_slim_embedded, #on_slim_output, #on_slim_tag
Instance Method Details
#call(exp) ⇒ 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.
4 5 6 7 8 |
# File 'lib/slim/embedded_engine.rb', line 4 def call(exp) @collected = '' super(exp) @collected end |
#on_slim_interpolate(text) ⇒ 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.
10 11 12 13 |
# File 'lib/slim/embedded_engine.rb', line 10 def on_slim_interpolate(text) @collected << text nil end |