class Marten::Template::Node::Text

Overview

Represents a text node.

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

Defined in:

marten/template/node/text.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]

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]