class Marten::Template::Template
- Marten::Template::Template
- Reference
- Object
Overview
A compiled template.
Defined in:
marten/template/template.crConstructors
Instance Method Summary
-
#nodes : Marten::Template::NodeSet
Returns the nodes corresponding to the parsed template.
-
#render(context : Context | Nil = nil) : String
Renders the template for a specific context.
-
#render(context : Hash | NamedTuple) : String
Renders the template for a specific context.
Constructor Detail
Instance Method Detail
Renders the template for a specific context.
Renders the template for a specific context.