Class: Inspec::Resources::HostProvider
- Inherits:
-
Object
- Object
- Inspec::Resources::HostProvider
- Defined in:
- lib/inspec/resources/host.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#inspec ⇒ Object
readonly
Returns the value of attribute inspec.
Instance Method Summary collapse
-
#initialize(inspec) ⇒ HostProvider
constructor
A new instance of HostProvider.
- #missing_requirements(_protocol) ⇒ Object
Constructor Details
#initialize(inspec) ⇒ HostProvider
Returns a new instance of HostProvider.
155 156 157 |
# File 'lib/inspec/resources/host.rb', line 155 def initialize(inspec) @inspec = inspec end |
Instance Attribute Details
#inspec ⇒ Object (readonly)
Returns the value of attribute inspec.
154 155 156 |
# File 'lib/inspec/resources/host.rb', line 154 def inspec @inspec end |
Instance Method Details
#missing_requirements(_protocol) ⇒ Object
159 160 161 162 163 |
# File 'lib/inspec/resources/host.rb', line 159 def missing_requirements(_protocol) # each provider can return an array of missing requirements that can # be enumerated in a skip_resource message [] end |