Class: Inspec::Resources::LinuxKernelParameter
- Inherits:
-
KernelParameter
- Object
- KernelParameter
- Inspec::Resources::LinuxKernelParameter
- Defined in:
- lib/inspec/resources/kernel_parameter.rb
Instance Method Summary collapse
-
#initialize(parameter) ⇒ LinuxKernelParameter
constructor
A new instance of LinuxKernelParameter.
- #to_s ⇒ Object
- #value ⇒ Object
Methods inherited from KernelParameter
Constructor Details
#initialize(parameter) ⇒ LinuxKernelParameter
Returns a new instance of LinuxKernelParameter.
44 45 46 47 |
# File 'lib/inspec/resources/kernel_parameter.rb', line 44 def initialize(parameter) Inspec.deprecate(:resource_linux_kernel_parameter, "The `linux_kernel_parameter` resource is deprecated. Please use `kernel_parameter`") super(parameter) end |
Instance Method Details
#to_s ⇒ Object
54 55 56 |
# File 'lib/inspec/resources/kernel_parameter.rb', line 54 def to_s "Kernel Parameter #{@parameter}" end |