Teeplate::Renderer
Inherits Reference / Object
Constructors
new(out_path : String, force : Bool, interact : Bool, list : Bool, color : Bool, per_entry : Bool, quit : Bool)
SourceInstance methods
new_rendering_entry(data)
Creates and returns a new rendering entry with a specified data entry.
Overrides this method if you want to use a custom class.
per_entry?
Tests if files should be rendered per file.
If true, the renderer executes writing after each time overwriting is confirmed.
Otherwise, all files are rendered at once after all confirmations are finished.
This condition means nothing if overwriting is not interative.
quittable?
Tests if rendering is quittable.
If true, rendering can be quitted on each overwriting's confirmation.