summaryrefslogtreecommitdiff
path: root/chef-utils/lib/chef-utils/mash.rb
diff options
context:
space:
mode:
Diffstat (limited to 'chef-utils/lib/chef-utils/mash.rb')
-rw-r--r--chef-utils/lib/chef-utils/mash.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/chef-utils/lib/chef-utils/mash.rb b/chef-utils/lib/chef-utils/mash.rb
index 484e172b33..08f4e62b59 100644
--- a/chef-utils/lib/chef-utils/mash.rb
+++ b/chef-utils/lib/chef-utils/mash.rb
@@ -102,6 +102,14 @@ module ChefUtils
alias_method :regular_update, :update
end
+ unless method_defined?(:regular_clear)
+ alias_method :regular_clear, :clear
+ end
+
+ unless method_defined?(:regular_delete)
+ alias_method :regular_delete, :delete
+ end
+
# @param key<Object> The key to set.
# @param value<Object>
# The value to set the key to.