From cd99136b5e19592217832894e754af5ace7d1f84 Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Wed, 30 Sep 2020 16:23:58 -0700 Subject: add ruby-3.0 hash methods to immutabilize_hash Signed-off-by: Lamont Granquist --- lib/chef/node/mixin/immutablize_hash.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/chef/node/mixin/immutablize_hash.rb b/lib/chef/node/mixin/immutablize_hash.rb index e3b02e378e..f6d885ca2b 100644 --- a/lib/chef/node/mixin/immutablize_hash.rb +++ b/lib/chef/node/mixin/immutablize_hash.rb @@ -58,6 +58,7 @@ class Chef each_with_object empty? entries + except fetch fetch_values filter @@ -137,6 +138,7 @@ class Chef default_proc= delete delete_if + except! filter! keep_if map! -- cgit v1.2.1