class Stacker::Context

Defined in:

stacker/context.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(root_dir : String) #

Context is a wrapper around Crinja.

It creates and setup a new Crinja environment to compile Jinja templates.

Filters and functions defined under src/runtime will be automaticaly loaded.


[View source]

Class Method Detail

def self.crinja_info #

[View source]

Instance Method Detail

def crinja_info #

[View source]
def env : Crinja #

Retrieve the Crinja runtime instance


[View source]
def root_dir : String #

Retrieve the Crinja runtime root dir


[View source]