class UnlessProcessor
Public Instance Methods
call(node:nil, attribute:nil, context:nil, **_)
click to toggle source
# File lib/thymeleaf/dialects/default/processors/unless.rb, line 6 def call(node:nil, attribute:nil, context:nil, **_) attribute.unlink if booleanize EvalExpression.parse(context, attribute.value) node.children.each {|child| child.unlink } node.unlink end end