METHODS
new
creates a new Cupt::Config objectclone
method, returns a copy of the objectget_scalar_option_names
method, returns the array of the scalar options' namesget_list_option_names
method, returns the array of the list options' namesget_string
method, returns the value of the string config option, may be undef if the option is not setParameters:
option_name - the name of the option, string
get_number
method, returns the value of the number config option, may be undef if the option is not setParameters:
option_name - the name of the option, string
get_bool
method, returns the value of the boolean config option, may be undef if the option is not setParameters:
option_name - the name of the option, string
get_list
method, returns the array of the values of the list config optionParameters:
option_name - the name of the option, string
set_scalar
method, sets scalar option option_name to option_valueParameters:
option_name - string option name to set
option_value - desired value
Returns: true on success, false on fail.
set_list
method, adds a option_value to a list option option_nameParameters:
option_name - string option name to advance
option_value - value to add
Returns: true on success, false on fail.