Garlicoin::Config
Inherits Reference < Object
Constants
DEFAULT_CONFIG_LOCATION = File.join(ENV["HOME"], "/.garlicoin/garlicoin.conf")
Constructors
new(server : Hash(String, String) = {} of String => String, nodes : Array(String) = [] of String)
SourceClass methods
load(path : String = DEFAULT_CONFIG_LOCATION)
SourceInstance methods
get(key)
Sourcenodes
Sourcenodes=(nodes : Array(String))
Sourceserver
Sourceserver=(server : Hash(String, String))
Sourceset(key, value)
Source