Config: Config

ConfigR Documentation

Config

Description

Config Class

Methods

Public methods


Method all_settings()

Usage
Config$all_settings(x)

Method new()

Usage
Config$new(config = list())

Method provider()

Usage
Config$provider(name, config = list())

Method error_message()

Usage
Config$error_message(name, locale = "en")

Method error_messages()

Usage
Config$error_messages(x = list(), locale = "en")

Method configure()

Usage
Config$configure(settings)

Method clone()

The objects of this class are cloneable with this method.

Usage
Config$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Examples

## Not run: 
x <- Config$new()
x
x$config
x$config$dns_timeout

z <- Config$new(list(dns_timeout = 4))
z
z$config
z$config$dns_timeout

## End(Not run)

ropenscilabs/addressable documentation built on Sept. 13, 2022, 11:32 p.m.