Class: Hamlit::Filters::Escaped
- Defined in:
- lib/hamlit/filters/escaped.rb
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Hamlit::Filters::Base
Instance Method Details
#compile(node) ⇒ Object
5 6 7 8 9 |
# File 'lib/hamlit/filters/escaped.rb', line 5 def compile(node) text = node.value[:text].rstrip temple = compile_text(text) [:escape, true, temple] end |