Skip to content

End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

instance method

Win32::Registry#write

write(name, type, data)

Write data to a registry value named name. When name is nil, write to the ‘default’ value.

type is type value. (see Registry::Constants module) Class of data must be same as which read method returns.

See also #values #write_bin #read_s_expand #write_i also in 3.4 · 3.3 · 3.1 · 3.0