Class: UTextProcessor
- Inherits:
-
Object
- Object
- UTextProcessor
- Includes:
- Thymeleaf::Processor
- Defined in:
- lib/thymeleaf/dialects/default/processors/utext.rb
Instance Method Summary collapse
Methods included from Thymeleaf::Processor
#evaluate_in_context, #load_template, #subprocess_node
Instance Method Details
#call(node: nil, attribute: nil, context: nil, **_) ⇒ Object
4 5 6 7 |
# File 'lib/thymeleaf/dialects/default/processors/utext.rb', line 4 def call(node:nil, attribute:nil, context:nil, **_) node.inner_html = EvalExpression.parse(context, attribute.value) attribute.unlink end |