class

Marten::Template::Node::Base

Inherits Reference / Object

The node abstract base class.

A template node is the result of the template parsing process and is able to be rendered in order to produce a specific output (depending on the type of node).

Instance methods

render(context : Context) : String

Given a Marten::Template::Context object, generates a String output.

Source