Open Sidebar
Close Sidebar
totem
refs/heads/master
Totem
Any
Type
Config
ConfigBuilder
ConfigTypes
Adapter
Env
JSON
YAML
Exception
MappingError
NotFoundConfigFileError
NotFoundConfigKeyError
RemoteProviderError
UnsupportedConfigError
UnsupportedRemoteProviderError
RemoteProviders
Adapter
Etcd
Redis
Utils
EnvHelper
FileHelper
HashHelper
abstract class
Totem::
ConfigTypes::
Adapter
Totem::ConfigTypes::Adapter
Reference
Object
Overview
Adapter of config type
Direct Known Subclasses
Totem::ConfigTypes::Env
Totem::ConfigTypes::JSON
Totem::ConfigTypes::YAML
Defined in:
totem/config_types.cr
Instance Method Summary
#read
(raw : String | IO) : Hash(String, Totem::Any)
#write
(io : File, config : Config)
Instance methods inherited from class
Reference
==(other : Totem::Any)
==
Instance methods inherited from class
Object
===(other : Totem::Any)
===
Instance Method Detail
abstract def
read
(raw : String | IO) : Hash(String,
Totem::Any
)
#
[
View source
]
abstract def
write
(io : File, config :
Config
)
#
[
View source
]