abstract class Marten::Template::Tag::Base
- Marten::Template::Tag::Base
- Reference
- Object
Overview
The template tag base class.
Template tags allow to implement complex logics and control flows such as for loop, if blocks, etc. They use the
{% tag %}
syntax and are rendered inside a template for a given context.
Direct Known Subclasses
- Marten::Template::Tag::Asset
- Marten::Template::Tag::Assign
- Marten::Template::Tag::Block
- Marten::Template::Tag::Cache
- Marten::Template::Tag::CsrfToken
- Marten::Template::Tag::Extend
- Marten::Template::Tag::For
- Marten::Template::Tag::If
- Marten::Template::Tag::Include
- Marten::Template::Tag::LocalTime
- Marten::Template::Tag::Spaceless
- Marten::Template::Tag::Super
- Marten::Template::Tag::Translate
- Marten::Template::Tag::Url
- Marten::Template::Tag::Verbatim
- Marten::Template::Tag::With
Defined in:
marten/template/tag/base.crConstructors
Instance Method Summary
-
#render(context : Context) : String
Render the template tag for a given context.
Constructor Detail
Instance Method Detail
Render the template tag for a given context.