module

Marten::Template::CanDefineTemplateAttributes

Macros

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.

Source