Skip to content

Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →

instance method

Win32::Registry#read_s

read_s(name)

Read a REG_SZ(read_s), REG_DWORD(read_i), or REG_BINARY(read_bin) registry value named name.

If the values type does not match, TypeError is raised.

See also #read_i #read_s_expand #read_bin #values also in 3.4 · 3.2 · 3.1 · 3.0