From d625e6df129157fce2151b9e6d8c2d3c2e2a8744 Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Thu, 12 Oct 2017 08:29:20 -0700 Subject: [PATCH] remove Chef::Mash its just "Mash", necessary for ruby 2.5.0 Signed-off-by: Lamont Granquist --- lib/cheffish/merged_config.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/cheffish/merged_config.rb b/lib/cheffish/merged_config.rb index 18caebb..b9f3596 100644 --- a/lib/cheffish/merged_config.rb +++ b/lib/cheffish/merged_config.rb @@ -3,8 +3,8 @@ module Cheffish class MergedConfig def initialize(*configs) - @configs = configs.map { |config| Chef::Mash.from_hash config } - @merge_arrays = Chef::Mash.new + @configs = configs.map { |config| Mash.from_hash config } + @merge_arrays = Mash.new end include Enumerable