class

Rosegold::Config

Inherits Reference / Object

Manages configuration files in the XDG Base Directory Specification directories.

For each application, a subdirectory is created in the config directory that stores configuration files specific to the application.

On Linux and other Unix-like systems, the XDG Base Directory Specification is used to determine the location of the configuration directory. On Windows, the %LOCALAPPDATA% environment variable is used instead.

Class methods

directory_for(service : String)

Returns the directory where configuration files related to the given service will be stored. The directory will be created if it doesn't exist.

Source
instance
Source

Instance methods

dir

Returns the configuration directory.

Source