Class: Inspec::Resources::PkgsManagement

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

Direct Known Subclasses

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.



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

def initialize(inspec)
  @inspec = inspec
end

Instance Attribute Details

#inspecObject (readonly)

Returns the value of attribute inspec.



71
72
73
# File 'lib/resources/packages.rb', line 71

def inspec
  @inspec
end