Class: Struct

Inherits:
Object
  • Object
show all
Defined in:
lib/inspec/polyfill.rb

Overview

copyright: 2016, Chef Software Inc. author: Dominik Richter author: Christoph Hartmann

Instance Method Summary collapse

Instance Method Details

#to_hObject



8
9
10
# File 'lib/inspec/polyfill.rb', line 8

def to_h
  Hash[each_pair.to_a]
end