class

Marten::Template::Node::Variable

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

Represents a variable node.

A variable node will be resolved based on the current context in order to produce the final output.

Constructors

new(source : String)
Source
new(expression : VariableExpression)
Source

Instance methods

render(context : Context) : String

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

Source