module Marten::Template::CanDefineTemplateAttributes
Direct including types
Defined in:
marten/template/concerns/can_define_template_attributes.crMacro Summary
-
template_attributes(*names)
Allows to explicitly configure which methods are made available to the template engine.
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.