module

Bindgen::Template

Conversion templates for Call::Result. They govern how a call result's code should be transformed to become usable under a certain platform.

Class methods

from_string(pattern : String | Nil, language : EvaluateOnce::Language) : Base

Like .from_string, but if pattern uses % more than once, the substituted code is evaluated only once. See EvaluateOnce.

Source
from_string(pattern : String | Nil, *, simple = false) : Base

Constructs a template from the string pattern. No-op if the pattern is nil. If simple is true, the resulting template does not support environment variables.

Source

Nested types