class

KrikriJinja::VariableResolver

Inherits Reference < Object

Supplies variables on demand, for hosts whose variable scope is large or whose values need host-side preparation before the engine can use them. A context consults its resolver for a name that no scope defines, before falling back to globals. Returning nil leaves the name to the globals and then to the engine's undefined value.

Instance methods

resolve(name : String) : AnyValue | Nil
Source