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

#architectureObject

Returns the value of attribute architecture

Returns:

  • (Object)

    the current value of architecture



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

def architecture
  @architecture
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



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

def name
  @name
end

#statusObject

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



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

def status
  @status
end

#versionObject

Returns the value of attribute version

Returns:

  • (Object)

    the current value of version



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

def version
  @version
end