class Marten::Template::NodeSet


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

Defined in:



Instance Method Summary

Constructor Detail

def #

[View source]

Instance Method Detail

def add(node : Node::Base) #

Add a node to the node set.

[View source]
def each(*args, **options) #

[View source]
def each(*args, **options, &) #

[View source]
def render(context : Context) #

Renders the node set for a specific context.

[View source]