Class: Inspec::Resources::WindowsRegistryKey
- Inherits:
-
RegistryKey
- Object
- RegistryKey
- Inspec::Resources::WindowsRegistryKey
- Defined in:
- lib/inspec/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.
291 292 293 294 |
# File 'lib/inspec/resources/registry_key.rb', line 291 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