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