struct

Teeplate::StringData

Inherits Teeplate::AsDataEntry / Struct / Value / Object

Constructors

new(path : String, string : String, perm : File::Permissions = File::Permissions.from_value(420), force : Bool = false)
Source

Instance methods

forces?

:nodoc:

Source
path

Returns a path string relative to a base location.

Source
perm
Source
perm?

Returns permission.

If no specific permission, returns nil.

Source
size?

Returns data size.

If the size can't be determined, returns nil.

Source
string
Source
write_to(io : IO)

Writes this data stream to a specified IO object.

Source