class

Teeplate::RenderingEntry

Inherits Reference / Object

Constructors

new(renderer : Renderer, data : AsDataEntry)
Source

Instance methods

appends?

:nodec:

Source
data

Returns the data entry.

Source
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.

Source
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.

Source
out_path

Returns an output location.

It makes an absolute location with the renderer's setting and this entry's local path.

Source
renderer

Returns the renderer.

Source
write

Writes data to the output location.

Override this method if data should be written in a special way.

Source