Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
totem
v0.7.0
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
Built with Crystal 1.9.2
2023-10-08 00:54:19 UTC
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
]