Class: Inspec::Resources::WindowsRegistryKey
- Inherits:
-
RegistryKey
- Object
- RegistryKey
- Inspec::Resources::WindowsRegistryKey
- Defined in:
- lib/resources/registry_key.rb
Instance Method Summary collapse
-
#initialize(name) ⇒ WindowsRegistryKey
constructor
A new instance of WindowsRegistryKey.
Methods inherited from RegistryKey
#children, #exists?, #has_property?, #has_property_value?, #has_value?, #method_missing, #to_s
Constructor Details
#initialize(name) ⇒ WindowsRegistryKey
Returns a new instance of WindowsRegistryKey.
286 287 288 289 |
# File 'lib/resources/registry_key.rb', line 286 def initialize(name) Inspec.deprecate(:resource_windows_registry_key, 'The `windows_registry_key` resource is deprecated. Please use `registry_key` instead.') super(name) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Inspec::Resources::RegistryKey