class

Bindgen::Template::Basic

Inherits Bindgen::Template::Base < Reference < Object

The default template. Uses Util.template to substitute code into the given pattern.

If simple is given, the template will only use a subset of the features; % performs substitution, whereas the escape sequence %% outputs a literal percent sign.

Constructors

new(pattern : String, simple : Bool = false)
Source

Instance methods

==(other : self)

Returns true if this reference is the same as other. Invokes same?.

Source
no_op?

Is this a no-operation template?

Source
template(code) : String
Source