Class: BradyW::RegistryAccessor
- Inherits:
-
Object
- Object
- BradyW::RegistryAccessor
- Defined in:
- lib/registry_accessor.rb
Instance Method Summary collapse
Instance Method Details
#regvalue(key, value) ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/registry_accessor.rb', line 5 def regvalue(key, value) keyAndVal = "#{key}\\#{value}" begin regvalue64(key, value) rescue begin regvalue32(key, value) rescue raise "Unable to find registry value in either 32 or 64 bit mode: #{keyAndVal}" end end end |