Class: Puppet::Pops::HashMergeStrategy
- Inherits:
-
MergeStrategy
- Object
- MergeStrategy
- Puppet::Pops::HashMergeStrategy
- Defined in:
- lib/puppet/pops/merge_strategy.rb
Overview
Produces a new hash by merging hash e1 with hash e2 in such a way that the values of duplicate keys will be those of e1
Constant Summary collapse
- INSTANCE =
self.new(EMPTY_HASH)
Constants inherited from MergeStrategy
Class Method Summary collapse
Instance Method Summary collapse
-
#checked_merge(e1, e2) ⇒ Hash<String,Object]
The merged hash.
Methods inherited from MergeStrategy
add_strategy, #configuration, #convert_value, #initialize, #lookup, merge, #merge, #merge_lookup, #merge_single, #options, strategy, strategy_keys
Constructor Details
This class inherits a constructor from Puppet::Pops::MergeStrategy
Class Method Details
.key ⇒ Object
246 247 248 |
# File 'lib/puppet/pops/merge_strategy.rb', line 246 def self.key :hash end |