Class: Inspec::Resources::KernelParameters

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

Instance Method Summary collapse

Constructor Details

#initializeKernelParameters

Returns a new instance of KernelParameters.



27
28
29
30
# File 'lib/inspec/resources/kernel_parameters.rb', line 27

def initialize
  # this resource is only supported on Linux
  return skip_resource "The `kernel_parameters` resource is not supported on your OS." unless inspec.os.linux?
end

Instance Method Details

#to_sObject



32
33
34
# File 'lib/inspec/resources/kernel_parameters.rb', line 32

def to_s
  "Kernel Parameters"
end