Class: Hamli::Filters::Base
- Inherits:
-
Temple::HTML::Filter
- Object
- Temple::HTML::Filter
- Hamli::Filters::Base
- Defined in:
- lib/hamli/filters/base.rb
Overview
Pass-through some expressions which are unknown for Temple.
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#on_hamli_position(begin_, end_, expression) ⇒ Array
13 14 15 |
# File 'lib/hamli/filters/base.rb', line 13 def on_hamli_position(begin_, end_, expression) [:hamli, :position, begin_, end_, compile(expression)] end |
#on_hamli_text(expression) ⇒ Array
19 20 21 |
# File 'lib/hamli/filters/base.rb', line 19 def on_hamli_text(expression) [:hamli, :text, compile(expression)] end |