(Not documented)
# File rumix/registry.rb, line 21 def clear @install_path = nil return self end
Try to load registry. If fail, clear itself. Return: self
# File rumix/registry.rb, line 28 def load begin PRIMARY_KEY.open(@sub_key) do |reg| @install_path = reg['InstallPath'] end rescue Win32::Registry::Error clear end return self end
Return: success
# File rumix/registry.rb, line 41 def store if @install_path.kind_of?(String) then PRIMARY_KEY.create(@sub_key) do |reg| reg['InstallPath'] = @install_path end return true else return false end end
Disabled; run with $DEBUG to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.