module Marten::Template::Object

Overview

Allows to add support for custom classes to template contexts.

Including this module in a class will make it "compatible" with the template engine so that instances of this class can be included in context objects.

Included Modules

Direct including types

Defined in:

marten/template/object.cr
marten/template/object/auto.cr
marten/template/object/enum.cr

Macros inherited from module Marten::Template::CanDefineTemplateAttributes

template_attributes(*names) template_attributes