This method is deprecated or moved on the latest stable version.
The last existing version (v1_9_3_392) is shown here.
read_s_expand(name)
public
Read a REG_SZ or REG_EXPAND_SZ registry value named name.
If the value type is REG_EXPAND_SZ, environment variables are replaced.
Unless the value type is REG_SZ or REG_EXPAND_SZ, TypeError is raised.
# File ext/dl/win32/lib/win32/registry.rb, line 646
def read_s_expand(name)
type, data = read(name, REG_SZ, REG_EXPAND_SZ)
if type == REG_EXPAND_SZ
Registry.expand_environ(data)
else
data
end
end