Method: Puppet::Pops::Lookup::ExplainMerge#to_hash
- Defined in:
- lib/puppet/pops/lookup/explainer.rb
#to_hash ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
290 291 292 293 294 295 296 297 |
# File 'lib/puppet/pops/lookup/explainer.rb', line 290 def to_hash return branches[0].to_hash if branches.size == 1 hash = super hash[:merge] = @merge.class.key = hash[:options] = unless .nil? hash end |