Class: Inspec::Resources::PkgManagement

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(inspec) ⇒ PkgManagement

Returns a new instance of PkgManagement.



119
120
121
# File 'lib/inspec/resources/package.rb', line 119

def initialize(inspec)
  @inspec = inspec
end

Instance Attribute Details

#inspecObject (readonly)

Returns the value of attribute inspec.



118
119
120
# File 'lib/inspec/resources/package.rb', line 118

def inspec
  @inspec
end

Instance Method Details

#missing_requirementsObject



123
124
125
126
127
# File 'lib/inspec/resources/package.rb', line 123

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