class

Fluxion::Config::Interpolator

Inherits Reference < Object

Substitutes ${...} tokens across a WorkstationProfile document.

Runs on the raw YAML tree before anything is mapped, so a variable can appear in any string field. Only braced syntax is interpreted: $(...), backticks, globs, and bare $VAR stay literal, because those belong to whatever shell eventually sees them.

Constants

VARIABLE = /\$\{([^}]*)\}/

Constructors

new(host : HostFacts, diagnostics : DiagnosticCollector = DiagnosticCollector.new)
Source

Instance methods

diagnostics
Source
interpolate(root : Node) : YAML::Any
Source