class Stacker::Context
- Stacker::Context
- Reference
- Object
Defined in:
stacker/context.crConstructors
Class Method Summary
Instance Method Summary
- #crinja_info
-
#env : Crinja
Retrieve the
Crinja
runtime instance -
#root_dir : String
Retrieve the
Crinja
runtime root dir
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.