Class: Inspec::Resources::PkgManagement

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

Direct Known Subclasses

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.



88
89
90
# File 'lib/resources/package.rb', line 88

def initialize(inspec)
  @inspec = inspec
end

Instance Attribute Details

#inspecObject (readonly)

Returns the value of attribute inspec.



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

def inspec
  @inspec
end

Instance Method Details

#missing_requirementsObject



92
93
94
95
96
# File 'lib/resources/package.rb', line 92

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