Writes config files with backup and atomic-replace semantics.
Instance methods
write(path :
String, config :
Config, backup :
Bool = true) :
Nil Writes a typed config object to disk.
SourceWrites raw config contents through a temporary file and final rename.
Sourcewrite_default(path :
String) :
Nil Writes the default config, backing up an existing file when present.
Source