Class: Inspec::Resources::PkgManagement
- Inherits:
-
Object
- Object
- Inspec::Resources::PkgManagement
- Defined in:
- lib/inspec/resources/package.rb
Direct Known Subclasses
AlpinePkg, BffPkg, Brew, Deb, FreebsdPkg, HpuxPkg, Pacman, Rpm, SolarisPkg, WindowsPkg
Instance Attribute Summary collapse
-
#inspec ⇒ Object
readonly
Returns the value of attribute inspec.
Instance Method Summary collapse
-
#initialize(inspec) ⇒ PkgManagement
constructor
A new instance of PkgManagement.
- #missing_requirements ⇒ Object
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
#inspec ⇒ Object (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_requirements ⇒ Object
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 |