class Marten::Template::Node::Variable

Overview

Represents a variable node.

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

Defined in:

marten/template/node/variable.cr

Constructors

Instance Method Summary

Instance methods inherited from class Marten::Template::Node::Base

render(context : Context) : String render

Constructor Detail

def self.new(source : String) #

[View source]
def self.new(expression : VariableExpression) #

[View source]

Instance Method Detail

def render(context : Context) : String #
Description copied from class Marten::Template::Node::Base

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


[View source]