Teeplate::RenderingEntry
Inherits Reference / Object
Constructors
new(renderer : Renderer, data : AsDataEntry)
SourceInstance methods
forces?
Tests if this entry forces overwriting.
This condition is determined by the renderer's setting by default. Override this method if the condition should be determined regardless of the renderer's setting.
local_path
Returns an output path relative to the base location.
It returns the data entry's path by default. Override this method if this path should be different from the data entry's path.
out_path
Returns an output location.
It makes an absolute location with the renderer's setting and this entry's local path.
write
Writes data to the output location.
Override this method if data should be written in a special way.