Sha256: 38b3ef980ab0c1d327e9d486755da7b7b20a19a8f569cccb397d6c9c81fade20
Contents?: true
Size: 574 Bytes
Versions: 9
Compression:
Stored size: 574 Bytes
Contents
class KuberKit::TemplateReader::Renderer include KuberKit::Import[ "core.template_store", "preprocessing.text_preprocessor", template_reader: "template_reader.reader" ] Contract KuberKit::Shell::AbstractShell, Symbol, KeywordArgs[ context_helper: KuberKit::Core::ContextHelper::AbstractHelper ] => String def call(shell, template_name, context_helper:) template = template_store.get(template_name) template_text = template_reader.read(shell, template) text_preprocessor.compile(template_text, context_helper: context_helper) end end
Version data entries
9 entries across 9 versions & 1 rubygems