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.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/mash.rb b/lib/chef/mash.rb
index 3858ff09dd..4e4f06634d 100644
--- a/lib/chef/mash.rb
+++ b/lib/chef/mash.rb
@@ -149,7 +149,7 @@ class Mash < Hash
#
# @return [Mash] A new mash with the hash values merged in.
def merge(hash)
- self.dup.update(hash)
+ dup.update(hash)
end
# @param key<Object>