Class: Psych::Merge::PartialTemplateMerger
- Inherits:
-
Ast::Merge::KeyPathPartialTemplateMergerBase
- Object
- Ast::Merge::KeyPathPartialTemplateMergerBase
- Psych::Merge::PartialTemplateMerger
- Defined in:
- lib/psych/merge/partial_template_merger.rb
Overview
Merges a partial YAML template into a specific key path of a destination document.
Unlike the full SmartMerger which merges entire documents, PartialTemplateMerger:
- Finds a specific key path in the destination (e.g., ["AllCops", "Exclude"])
- Merges template content at that location
- Leaves the rest of the destination unchanged