CogUtil::Config
Inherits Reference < Object
Configuration manager for OpenCog Supports YAML, JSON, and simple key=value format files
Constructors
new(config_filename : String = "opencog.conf")
SourceClass methods
create_instance(filename : String = "opencog.conf")
SourceInstance methods
get_bool(key : String, default : Bool = false) : Bool
Get configuration value as specific types
get_float(key : String, default : Float64 = 0.0) : Float64
Sourceget_int(key : String, default : Int32 = 0) : Int32
Sourceset(key : String, value)
Source