Class: Struct
- Inherits:
-
Object
- Object
- Struct
- Defined in:
- lib/inspec/polyfill.rb
Overview
copyright: 2016, Chef Software Inc.
Direct Known Subclasses
FilterTable::Factory::CustomPropertyType, Inspec::Deprecation::ConfigFile::GroupEntry, Inspec::Describe::Test, Inspec::Plugin::V2::Activator, Inspec::Plugin::V2::Exclusion, Inspec::Plugin::V2::Status, Inspec::RequireLoader::Item, Inspec::Resources::PkgsManagement::PackageStruct, NginxTransform::Exp, NginxTransform::Group
Instance Method Summary collapse
Instance Method Details
#to_h ⇒ Object
5 6 7 |
# File 'lib/inspec/polyfill.rb', line 5 def to_h Hash[each_pair.to_a] end |