diff options
author | Tim Smith <[email protected]> | 2025-06-16 22:41:51 -0700 |
---|---|---|
committer | git <[email protected]> | 2025-06-17 05:52:04 +0000 |
commit | 6736641372f17a427df99d6cef4b88e8d725d8aa () | |
tree | f60906da1f6fc67842afb6dfcdb546b50e17722a /ext/win32/lib | |
parent | a60bf9e693706c69484521d4967c9beb4d45772b (diff) |
[ruby/win32-registry] Minor readme improvements and typo fixes
- Put shell commands in code blocks so they can easily be copied from the UI directly - Fix a few typos - Fix a dead link to MSDN Signed-off-by: Tim Smith <[email protected]> https://.com/ruby/win32-registry/commit/61a4672df7
-rw-r--r-- | ext/win32/lib/win32/registry.rb | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -372,7 +372,7 @@ For detail, see the MSDN[http://msdn.microsoft.com/library/en-us/sysinfo/base/pr # Replace %\w+% into the environment value of what is contained between the %'s # This method is used for REG_EXPAND_SZ. # - # For detail, see expandEnvironmentStrings[http://msdn.microsoft.com/library/en-us/sysinfo/base/expandenvironmentstrings.asp] \Win32 \API. # def self.expand_environ(str) str.gsub(Regexp.compile("%([^%]+)%".encode(str.encoding))) { @@ -487,7 +487,7 @@ For detail, see the MSDN[http://msdn.microsoft.com/library/en-us/sysinfo/base/pr ObjectSpace.define_finalizer self, @@final.call(@hkeyfinal) end - # Win32::Registry object of parent key, or nil if predefeined key. attr_reader :parent # Same as subkey value of Registry.open or # Registry.create method. @@ -571,7 +571,7 @@ For detail, see the MSDN[http://msdn.microsoft.com/library/en-us/sysinfo/base/pr # For each value it yields key, type and data. # # key is a String which contains name of key. - # type is a type contant kind of Win32::Registry::REG_* # data is the value of this key. # def each_value |