Class: WindowsRegistryKey
- Inherits:
-
RegistryKey
- Object
- RegistryKey
- WindowsRegistryKey
- Defined in:
- lib/resources/registry_key.rb
Overview
for compatability with serverspec this is deprecated syntax and will be removed in future versions
Instance Attribute Summary
Attributes inherited from RegistryKey
Instance Method Summary collapse
- #deprecated ⇒ Object
-
#initialize(name) ⇒ WindowsRegistryKey
constructor
A new instance of WindowsRegistryKey.
Methods inherited from RegistryKey
#exists?, #has_property?, #has_property_value?, #has_value?, #method_missing, #to_s
Constructor Details
#initialize(name) ⇒ WindowsRegistryKey
Returns a new instance of WindowsRegistryKey.
171 172 173 174 |
# File 'lib/resources/registry_key.rb', line 171 def initialize(name) deprecated super(name) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class RegistryKey
Instance Method Details
#deprecated ⇒ Object
176 177 178 |
# File 'lib/resources/registry_key.rb', line 176 def deprecated warn '[DEPRECATION] `yumrepo(reponame)` is deprecated. Please use `yum.repo(reponame)` instead.' end |