method

write

ruby latest stable - Class: Win32::Registry

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_9_3_392) is shown here.

write(name, type, data)
public

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.