mirror of
https://github.com/inspec/inspec
synced 2024-11-23 13:13:22 +00:00
Merge pull request #4553 from inspec/mj/polyfill
Remove unused polyfill.rb file adding to_h to Struct
This commit is contained in:
commit
1a76d59cca
1 changed files with 0 additions and 9 deletions
|
@ -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
|
Loading…
Reference in a new issue