diff options
Diffstat (limited to 'lib/chef/mash.rb')
-rw-r--r-- | lib/chef/mash.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/mash.rb b/lib/chef/mash.rb index 404d6d622f..5384aa327c 100644 --- a/lib/chef/mash.rb +++ b/lib/chef/mash.rb @@ -117,7 +117,7 @@ class Mash < Hash # # @return [Mash] The updated mash. def update(other_hash) - other_hash.each_pair { |key, value| regular_writer(convert_key(key), convert_value(value)) } + other_hash.each_pair do |key, value| regular_writer(convert_key(key), convert_value(value)) end self end @@ -183,7 +183,7 @@ class Mash < Hash # @return [Hash] The mash as a Hash with symbolized keys. def symbolize_keys h = Hash.new(default) - each { |key, val| h[key.to_sym] = val } + each do |key, val| h[key.to_sym] = val end h end |