Module: Textus::Manifest::Entry::Publish::Template

Defined in:
lib/textus/manifest/entry/publish/template.rb

Overview

Template-variable detection for publish targets. The only surviving use after ADR 0051 (which removed publish_each and its ‘leaf`/ `basename`/`key`/`ext` vocabulary) is Tree.validate!, which uses VAR_RE to reject any `var` in a publish_tree value — that key names a single directory by plain path and interprets no variables.

Constant Summary collapse

VAR_RE =
/\{([a-z]+)\}/