module Marten::Template::CanDefineTemplateAttributes

Direct including types

Defined in:

marten/template/concerns/can_define_template_attributes.cr

Macro Summary

Macro Detail

macro template_attributes(*names) #

Allows to explicitly configure which methods are made available to the template engine.

Only public mehtods that don't require arguments should be made available to templates.


[View source]