From 44a4f8f2211babecf60ecb941957f321c614e8df Mon Sep 17 00:00:00 2001 From: Miah Johnson Date: Wed, 2 Oct 2019 14:00:25 -0700 Subject: [PATCH] This file isn't used by anything inside of InSpec Signed-off-by: Miah Johnson --- lib/inspec/polyfill.rb | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 lib/inspec/polyfill.rb diff --git a/lib/inspec/polyfill.rb b/lib/inspec/polyfill.rb deleted file mode 100644 index 530e8c292..000000000 --- a/lib/inspec/polyfill.rb +++ /dev/null @@ -1,9 +0,0 @@ -# copyright: 2016, Chef Software Inc. - -class Struct - unless instance_methods.include? :to_h - def to_h - Hash[each_pair.to_a] - end - end -end