class

Marten::Template::Node::Text

Inherits Marten::Template::Node::Base / Reference / Object

Represents a text node.

A text will simply output its raw content at rendering time.

Constructors

new(source : String)
Source

Instance methods

render(context : Context) : String

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

Source