Bundles the template being rendered with the user supplied context.
Operations receive an environment rather than a bare context so they can reach the document model - to register relationships or list definitions - while evaluating.
Summary
Functions
Returns a copy of the environment with context merged into it.
Builds an environment.
Sets the section properties, transforming them like a context.
Types
Functions
Returns a copy of the environment with context merged into it.
Builds an environment.
source may be a Sablon.Template, anything exposing a :document key, or
a document model itself.
Sets the section properties, transforming them like a context.