class Crinja::Tag::Do

Overview

The do tag works exactly like the regular variable expression ({{ ... }}) except it doesn’t print anything. This can be used to modify lists:

{% do navigation.append('a string') %}

See Jinja2 Template Documentation for details.

Defined in:

lib/tag/do.cr

Instance Method Summary

Instance methods inherited from class Crinja::Tag

end_tag : String? end_tag, has_block?(node : TagNode) has_block?, interpret_output(renderer : Renderer, tag_node : TagNode) interpret_output, to_s(io) to_s

Instance Method Detail

def end_tag : String? #

[View source]
def evaluate_node(tag_node, env : Crinja) #

[View source]
def name : String #

[View source]