Class: Inspec::Resources::PkgsManagement

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

Direct Known Subclasses

AlpinePkgs, Debs, Rpms

Defined Under Namespace

Classes: PackageStruct

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(inspec) ⇒ PkgsManagement

Returns a new instance of PkgsManagement.



74
75
76
# File 'lib/inspec/resources/packages.rb', line 74

def initialize(inspec)
  @inspec = inspec
end

Instance Attribute Details

#inspecObject (readonly)

Returns the value of attribute inspec.



73
74
75
# File 'lib/inspec/resources/packages.rb', line 73

def inspec
  @inspec
end