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, #to_s, #user_permissions

Constructor Details

#initialize(name) ⇒ WindowsRegistryKey

Returns a new instance of WindowsRegistryKey.



321
322
323
324
# File 'lib/inspec/resources/registry_key.rb', line 321

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