class

Hwaro::Utils::FrontmatterWriter::TomlBuilder

Inherits Reference / Object

Emits a TOML document body (no +++ fences) from a parsed frontmatter tree: scalars first, then [table] sections, then [[array-of-table]] sections, preserving source key order within each group.

Constructors

Instance methods

build(yaml : YAML::Any) : String
Source
build(fields : Hash(String, YAML::Any)) : String

Convenience for callers holding a string-keyed field map (exporters).

Source