Class: Inspec::Resources::PkgsManagement::PackageStruct

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

Instance Attribute Summary collapse

Method Summary

Methods inherited from Struct

#to_h

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



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

def name
  @name
end

#statusObject

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



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

def status
  @status
end

#versionObject

Returns the value of attribute version

Returns:

  • (Object)

    the current value of version



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

def version
  @version
end