Merge pull request #4553 from inspec/mj/polyfill

Remove unused polyfill.rb file adding to_h to Struct
This commit is contained in:
Miah Johnson 2019-10-04 14:18:32 -07:00 committed by GitHub
commit 1a76d59cca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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