Class: Inspec::Resources::KernelParameters
- Inherits:
-
Object
- Object
- Inspec::Resources::KernelParameters
- Defined in:
- lib/inspec/resources/kernel_parameters.rb
Instance Method Summary collapse
-
#initialize ⇒ KernelParameters
constructor
A new instance of KernelParameters.
- #to_s ⇒ Object
Constructor Details
#initialize ⇒ KernelParameters
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_s ⇒ Object
32 33 34 |
# File 'lib/inspec/resources/kernel_parameters.rb', line 32 def to_s "Kernel Parameters" end |