Class: Inspec::Resources::PkgManagement

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

Direct Known Subclasses

AlpinePkg, BffPkg, Brew, Deb, HpuxPkg, Pacman, Rpm, SolarisPkg, WindowsPkg

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(inspec) ⇒ PkgManagement

Returns a new instance of PkgManagement.



99
100
101
# File 'lib/inspec/resources/package.rb', line 99

def initialize(inspec)
  @inspec = inspec
end

Instance Attribute Details

#inspecObject (readonly)

Returns the value of attribute inspec.



98
99
100
# File 'lib/inspec/resources/package.rb', line 98

def inspec
  @inspec
end

Instance Method Details

#missing_requirementsObject



103
104
105
106
107
# File 'lib/inspec/resources/package.rb', line 103

def missing_requirements
  # Each provider can provide an Array of missing requirements that will be
  # combined into a `ResourceSkipped` exception message.
  []
end