Class: Inspec::Resources::WindowsRegistryKey

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

Instance Method Summary collapse

Methods inherited from RegistryKey

#children, #exists?, #has_property?, #has_property_value?, #has_value?, #inherited?, #method_missing, #resource_id, #to_s, #user_permissions

Constructor Details

#initialize(name) ⇒ WindowsRegistryKey

Returns a new instance of WindowsRegistryKey.



325
326
327
328
# File 'lib/inspec/resources/registry_key.rb', line 325

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