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
class
Totem::
ConfigTypes::
YAML
Totem::ConfigTypes::YAML
Totem::ConfigTypes::Adapter
Reference
Object
Overview
Builtin YAML format config type
Defined in:
totem/config_types/yaml.cr
Instance Method Summary
#read
(raw) : Hash(String, Totem::Any)
#write
(io, config)
Instance methods inherited from class
Totem::ConfigTypes::Adapter
read(raw : String | IO) : Hash(String, Totem::Any)
read
,
write(io : File, config : Config)
write
Instance methods inherited from class
Reference
==(other : Totem::Any)
==
Instance methods inherited from class
Object
===(other : Totem::Any)
===
Instance Method Detail
def
read
(raw) : Hash(String,
Totem::Any
)
#
[
View source
]
def
write
(io, config)
#
[
View source
]