class Teeplate::Renderer
- Teeplate::Renderer
- Reference
- Object
Defined in:
lib/renderer.crConstructors
Instance Method Summary
-
#<<(entries : Array(AsDataEntry))
Appends data entries.
-
#<<(entry : AsDataEntry)
Appends a data entry.
-
#colorizes? : Bool
Tests if rendering results should be colorized.
-
#forces? : Bool
Tests if overwriting should be forced.
-
#interactive? : Bool
Tests if overwriting should be done after confirmation.
-
#listing? : Bool
Tests if rendering results should be printed.
-
#new_rendering_entry(data)
Creates and returns a new rendering entry with a specified data entry.
-
#out_path : String
Returns the base output location.
-
#per_entry? : Bool
Tests if files should be rendered per file.
-
#quittable? : Bool
Tests if rendering is quittable.
-
#quitted? : Bool
Tests if rendering has been quitted.
-
#render
Starts rendering.
Constructor Detail
Instance Method Detail
Creates and returns a new rendering entry with a specified data entry.
Overrides this method if you want to use a custom class.
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.
Tests if rendering is quittable.
If true, rendering can be quitted on each overwriting's confirmation.