Class: Inspec::Resources::HostProvider

Inherits:
Object
  • Object
show all
Defined in:
lib/resources/host.rb

Direct Known Subclasses

LinuxHostProvider, WindowsHostProvider

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(inspec) ⇒ HostProvider

Returns a new instance of HostProvider.



87
88
89
# File 'lib/resources/host.rb', line 87

def initialize(inspec)
  @inspec = inspec
end

Instance Attribute Details

#inspecObject (readonly)

Returns the value of attribute inspec.



86
87
88
# File 'lib/resources/host.rb', line 86

def inspec
  @inspec
end