Class: TextProcessor
- Inherits:
-
Object
- Object
- TextProcessor
- Includes:
- Thymeleaf::Processor
- Defined in:
- lib/thymeleaf/dialects/default/processors/text.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
5 6 7 8 |
# File 'lib/thymeleaf/dialects/default/processors/text.rb', line 5 def call(node:nil, attribute:nil, context:nil, **_) node.content = EvalExpression.parse(context, attribute.value) attribute.unlink end |