summaryrefslogtreecommitdiff
path: root/lib/chef/mash.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/mash.rb')
-rw-r--r--lib/chef/mash.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/chef/mash.rb b/lib/chef/mash.rb
index 4e4f06634d..8b9e115dd1 100644
--- a/lib/chef/mash.rb
+++ b/lib/chef/mash.rb
@@ -105,6 +105,12 @@ class Mash < Hash
regular_writer(convert_key(key), convert_value(value))
end
+ # internal API for use by Chef's deep merge cache
+ # @api private
+ def internal_set(key, value)
+ regular_writer(key, convert_value(value))
+ end
+
# @param other_hash<Hash>
# A hash to update values in the mash with. The keys and the values will be
# converted to Mash format.