class Marten::Template::Engine

Defined in:

marten/template/engine.cr

Instance Method Summary

Instance Method Detail

def context_producers : Array(Marten::Template::ContextProducer) #

[View source]
def context_producers=(context_producers : Array(Marten::Template::ContextProducer)) #

[View source]
def get_template(template_name : String) : Template #

Returns the first compiled template matching the given template name.


[View source]
def loaders : Array(Marten::Template::Loader::Base) #

[View source]
def loaders=(loaders : Array(Marten::Template::Loader::Base)) #

[View source]