class Marten::Template::NodeSet
- Marten::Template::NodeSet
- Reference
- Object
Overview
Represents a set of nodes.
A set of nodes is simply an enumerable holding Marten::Template::Node
objects. It provides convenient methods
allowing to render the underlying nodes.
Included Modules
- Enumerable(Marten::Template::Node::Base)
Defined in:
marten/template/node_set.crConstructors
Instance Method Summary
-
#add(node : Node::Base)
Add a node to the node set.
- #each(*args, **options)
- #each(*args, **options, &)
-
#render(context : Context)
Renders the node set for a specific context.